Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Peter committed Mar 13, 2024
1 parent 1382c7f commit 24f2925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testapp/testapp/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
from django.urls import path

urlpatterns = [
path('admin/', admin.site.urls),
path("admin/", admin.site.urls),
]
2 changes: 1 addition & 1 deletion testapp/tests/test_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 24f2925

Please sign in to comment.