Skip to content

Commit

Permalink
Update pythonpath setting in tests to use built in pytest option.
Browse files Browse the repository at this point in the history
Remove pytest-pythonpath
  • Loading branch information
rtibbles committed Jan 25, 2025
1 parent 0ddbef5 commit d32a977
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
[pytest]
testpaths = contentcuration/
pythonpath = contentcuration/
# Settings for pytest-django
DJANGO_SETTINGS_MODULE=contentcuration.test_settings
# Settings for pytest-pythonpath
python_paths = contentcuration/

filterwarnings =
ignore::UserWarning
Expand Down
1 change: 0 additions & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ mixer==6.1.3
pytest
pytest-django
pytest-logging
pytest-pythonpath
pytest-timeout
pytest-watch
pre-commit==1.15.1
Expand Down
3 changes: 0 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,12 @@ pytest==7.4.4
# -r requirements-dev.in
# pytest-django
# pytest-logging
# pytest-pythonpath
# pytest-timeout
# pytest-watch
pytest-django==4.9.0
# via -r requirements-dev.in
pytest-logging==2015.11.4
# via -r requirements-dev.in
pytest-pythonpath==0.7.3
# via -r requirements-dev.in
pytest-timeout==1.4.2
# via -r requirements-dev.in
pytest-watch==4.2.0
Expand Down

0 comments on commit d32a977

Please sign in to comment.