diff options
| author | Tim Graham <timograham@gmail.com> | 2014-01-22 14:09:02 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-28 08:31:02 -0500 |
| commit | 2b6914049a882e2f1b398baf54940e815b85a90a (patch) | |
| tree | 82803ffd89c598416b3f915b91b600281027ac79 /tests/admin_scripts | |
| parent | 3e4dc5ecf25aa2b38eed73472899f0de5a319c04 (diff) | |
Fixed #21849 -- Included the count of silenced system checks in output.
Diffstat (limited to 'tests/admin_scripts')
| -rw-r--r-- | tests/admin_scripts/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index f1a4d55521..19be4a3372 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -1124,7 +1124,7 @@ class ManageCheck(AdminScriptTestCase): args = ['check'] out, err = self.run_manage(args) self.assertNoOutput(err) - self.assertEqual(out, 'System check identified no issues.\n') + self.assertEqual(out, 'System check identified no issues (0 silenced).\n') def test_app_with_import(self): """ manage.py check does not raise errors when an app imports a base @@ -1139,7 +1139,7 @@ class ManageCheck(AdminScriptTestCase): args = ['check'] out, err = self.run_manage(args) self.assertNoOutput(err) - self.assertEqual(out, 'System check identified no issues.\n') + self.assertEqual(out, 'System check identified no issues (0 silenced).\n') def test_output_format(self): """ All errors/warnings should be sorted by level and by message. """ @@ -1163,7 +1163,7 @@ class ManageCheck(AdminScriptTestCase): "obj: First warning\n" "\tHINT: Hint\n" "\n" - "System check identified 3 issues.\n" + "System check identified 3 issues (0 silenced).\n" ) self.assertEqual(err, expected_err) self.assertNoOutput(out) @@ -1191,7 +1191,7 @@ class ManageCheck(AdminScriptTestCase): "WARNINGS:\n" "?: A warning\n" "\n" - "System check identified 1 issue.\n" + "System check identified 1 issue (0 silenced).\n" ) self.assertEqual(err, expected_err) self.assertNoOutput(out) |
