Browse Source

Strip first two args in testrunner

rafalp 6 years ago
parent
commit
934550189d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      runtests.py

+ 2 - 1
runtests.py

@@ -20,4 +20,5 @@ def runtests():
                 "forget to activate a virtual environment?"
             )
         raise
-    execute_from_command_line(["manage.py", "test"] + sys.argv[1:] + ["--noinput", "-v", "1"])
+
+    execute_from_command_line(["manage.py", "test"] + sys.argv[2:] + ["--noinput", "-v", "1"])