We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 730874d commit 1ed8b5bCopy full SHA for 1ed8b5b
tests/apps/app/commands/test_show_all.py
@@ -1,12 +1,12 @@
1
from unittest import TestCase
2
-from unittest.mock import call, patch
+from unittest.mock import call, patch, MagicMock
3
4
from piccolo.apps.app.commands.show_all import show_all
5
6
7
class TestShowAll(TestCase):
8
@patch("piccolo.apps.app.commands.show_all.print")
9
- def test_show_all(self, print_):
+ def test_show_all(self, print_: MagicMock):
10
show_all()
11
12
self.assertEqual(
0 commit comments