Skip to content

Commit

Permalink
directory error
Browse files Browse the repository at this point in the history
  • Loading branch information
carmen904c committed Feb 10, 2024
1 parent 82e88d8 commit 0090bb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
import sys
sys.path.append('vsvs_scheduler/')
# this tells the interpreter to check the src/ directory for modules
# this is important because the tests are in a different directory than the modules
sys.path.append('src/')
2 changes: 1 addition & 1 deletion tests/test_data_uploader.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest
from src.data_uploader import DataUploader
from src.globals import TEACHER_COLUMNS, VOLUNTEER_COLUMNS, PARTNER_COLUMNS
from src.globals import TEACHER_COLUMNS, VOLUNTEER_COLUMNS

@pytest.fixture
def data_uploader():
Expand Down

0 comments on commit 0090bb9

Please sign in to comment.