Thanks to visit codestin.com Credit goes to github.com
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 50480b4 commit 88a7ab0Copy full SHA for 88a7ab0
stock_alerter/tests/test_action.py
@@ -4,8 +4,8 @@
4
from ..action import PrintAction
5
6
7
+@mock.patch("builtins.print")
8
class PrintActionTest(unittest.TestCase):
- @mock.patch("builtins.print")
9
def test_executing_action_prints_message(self, mock_print):
10
action = PrintAction()
11
action.execute("GOOG > $10")
0 commit comments