From 24f292542c914b542d2c6031857e6c38f77da981 Mon Sep 17 00:00:00 2001 From: Bogdan Peter Date: Wed, 13 Mar 2024 13:56:52 +0200 Subject: [PATCH] fix tests --- testapp/testapp/urls.py | 2 +- testapp/tests/test_command.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testapp/testapp/urls.py b/testapp/testapp/urls.py index 8ab3632..96faa94 100644 --- a/testapp/testapp/urls.py +++ b/testapp/testapp/urls.py @@ -17,5 +17,5 @@ from django.urls import path urlpatterns = [ - path('admin/', admin.site.urls), + path("admin/", admin.site.urls), ] diff --git a/testapp/tests/test_command.py b/testapp/tests/test_command.py index 6e6e38b..c30bef3 100644 --- a/testapp/tests/test_command.py +++ b/testapp/tests/test_command.py @@ -25,5 +25,5 @@ def test_silent(self): out = StringIO() err = StringIO() call_command('some_command', verbosity=0, stdout=out, stderr=err) - self.assertEqual(out.getvalue(), 'info message\n') + self.assertEqual(out.getvalue(), '') self.assertEqual(err.getvalue(), 'error message\nexception handled\n')