commit 83303ffd18127b5ec53fed903cad1ed4b48835a7 Author: Arturo Filastò arturo@filasto.net Date: Fri Jan 13 19:36:07 2017 +0000
Fix scheduler unittest to check for the from_schedule keyword arg --- ooni/tests/test_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ooni/tests/test_scheduler.py b/ooni/tests/test_scheduler.py index c0ab5ebd..56a4bb40 100644 --- a/ooni/tests/test_scheduler.py +++ b/ooni/tests/test_scheduler.py @@ -312,7 +312,7 @@ class TestSchedulerService(ConfigTestCase):
# 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)