Skip to content

Commit

Permalink
Generate sys.exit retval identically with Django's own test managemen…
Browse files Browse the repository at this point in the history
…t command
  • Loading branch information
akaihola committed Jan 23, 2010
1 parent bc9e10b commit 5bffaf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_nose/management/commands/test.py
Expand Up @@ -52,4 +52,4 @@ def handle(self, *test_labels, **options):
failures = test_runner.run_tests(test_labels)

if failures:
sys.exit(failures)
sys.exit(bool(failures))

0 comments on commit 5bffaf2

Please sign in to comment.