Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ddabble committed May 6, 2024
1 parent b8c1a0c commit fc2f254
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import django
from django.conf import settings
from django.test.runner import DiscoverRunner

sys.path.insert(0, abspath(dirname(__file__)))

Expand Down Expand Up @@ -179,6 +178,8 @@ def main():

django.setup()

from django.test.runner import DiscoverRunner

tags = namespace.tag
failures = DiscoverRunner(
failfast=bool(namespace.failfast), pdb=bool(namespace.pdb), tags=tags
Expand Down

0 comments on commit fc2f254

Please sign in to comment.