Skip to content

Commit

Permalink
fix: extract tests out of src (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
olzhasar authored Oct 19, 2024
1 parent 757a948 commit 9207ab5
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
pip install poetry
poetry install
- name: Run tests
run: poetry run pytest src/tests/test_all.py
run: poetry run pytest tests/test_all.py
Empty file removed src/tests/__init__.py
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/tests/test_all.py → tests/test_all.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..jobspy import scrape_jobs
from jobspy import scrape_jobs
import pandas as pd


Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_glassdoor.py → tests/test_glassdoor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..jobspy import scrape_jobs
from jobspy import scrape_jobs
import pandas as pd


Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_indeed.py → tests/test_indeed.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..jobspy import scrape_jobs
from jobspy import scrape_jobs
import pandas as pd


Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_linkedin.py → tests/test_linkedin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..jobspy import scrape_jobs
from jobspy import scrape_jobs
import pandas as pd


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ..jobspy import scrape_jobs
from jobspy import scrape_jobs
import pandas as pd


Expand Down

0 comments on commit 9207ab5

Please sign in to comment.