Skip to content

Commit

Permalink
Fixing tests for users on WSL.
Browse files Browse the repository at this point in the history
  • Loading branch information
kavdev committed May 29, 2018
1 parent 1a9faa2 commit 4a4e002
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ def run_test_suite(args):
args = sys.argv[1:]
sys.argv = sys.argv[0:1]

# Add the ability to run tests on executable files. This is important when running tests on WSL, where permissions
# are dictated by Windows instead of Unix.
sys.argv += ["--exe"]

from django_nose import NoseTestSuiteRunner

test_runner = NoseTestSuiteRunner(verbosity=1, keepdb=True, failfast=True)
Expand Down

0 comments on commit 4a4e002

Please sign in to comment.