Skip to content
Snippets Groups Projects
Commit c91d71e7 authored by David Barnes's avatar David Barnes
Browse files

Remove env lines in runtests that are no longer needed due to pytest

config in toml file.
parent 003710d0
Branches
No related merge requests found
......@@ -15,10 +15,6 @@ def run_tests_with_pytest():
Has very helpful and verbose testing output.
"""
# Set environment values.
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.settings")
os.environ.setdefault("PYTHONPATH", ROOT_DIR)
# Run tests.
argv = ["pytest"] + sys.argv[1:]
proc = subprocess.run(argv, check=False)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment