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 5d10c46 commit cfab237Copy full SHA for cfab237
stock_alerter/tests/test_alert.py
@@ -46,6 +46,7 @@ def test_action_fires_when_rule_matches(self):
46
alert = Alert("sample alert", rule, action)
47
alert.connect(exchange)
48
goog.update(datetime(2014, 5, 14), 11)
49
- main_mock.assert_has_calls(
50
- [mock.call.rule.matches(exchange),
51
- mock.call.action.execute("sample alert")])
+ self.assertEqual([mock.call.rule.depends_on(),
+ mock.call.rule.matches(exchange),
+ mock.call.action.execute("sample alert")],
52
+ main_mock.mock_calls)
0 commit comments