Ticket #11615: test-runner-exit-status.diff
File test-runner-exit-status.diff, 448 bytes (added by , 15 years ago) |
---|
-
django/core/management/commands/test.py
diff --git a/django/core/management/commands/test.py b/django/core/management/commands/test.py index 8ebf3da..21e1e51 100644
a b class Command(BaseCommand): 22 22 23 23 failures = test_runner(test_labels, verbosity=verbosity, interactive=interactive) 24 24 if failures: 25 sys.exit( failures)25 sys.exit(bool(failures))