Skip to content

Commit

Permalink
Fix scheduler unittest to check for the from_schedule keyword arg
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais authored and bassosimone committed Jan 25, 2017
1 parent f9101d9 commit 83303ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ooni/tests/test_scheduler.py
Expand Up @@ -312,7 +312,7 @@ def test_deck_run_twice(self, mock_resources, mock_probe_ip,

# We check that the run method of the deck was called twice
self.mock_deck.run.assert_has_calls([
mock.call(mock_director), mock.call(mock_director)
mock.call(mock_director, from_schedule=True), mock.call(mock_director, from_schedule=True)
])
d.callback(None)

Expand Down

0 comments on commit 83303ff

Please sign in to comment.