Skip to content

Commit

Permalink
test: test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ChogirmaliYigit committed Jan 22, 2024
1 parent bd30fdc commit 75ceb66
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions lib/runtest.py
Original file line number Diff line number Diff line change
@@ -1,15 +0,0 @@
#!/usr/bin/env python
import os
import sys

import django
from django.conf import settings
from django.test.utils import get_runner

if __name__ == "__main__":
os.environ["DJANGO_SETTINGS_MODULE"] = "tests.test_settings"
django.setup()
TestRunner = get_runner(settings)
test_runner = TestRunner()
failures = test_runner.run_tests(["tests"])
sys.exit(bool(failures))

0 comments on commit 75ceb66

Please sign in to comment.