Skip to content

Commit 9b57107

Browse files
committed
Fix tests
1 parent 1156c6c commit 9b57107

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

run_tests.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
from django.test.utils import get_runner
88

99

10-
def run(argv):
10+
def run(argv=None):
11+
if argv is None:
12+
argv = ["tests"]
1113
tests = argv[1:] if len(argv) > 1 else ["tests"]
1214
os.environ["DJANGO_SETTINGS_MODULE"] = "tests.test_settings"
1315
django.setup()

0 commit comments

Comments
 (0)