With assert self.mocked_icinga_host.run_sync.assert_not_called() > assert self.mocked_icinga_host.run_sync.assert_not_called() E AssertionError: assert None E + where None = >() E + where > = .assert_not_called E + where = .run_sync E + where = .mocked_icinga_host spicerack/tests/unit/test_icinga.py:412: AssertionError # with print(self.mocked_icinga_host.run_sync.mock_calls) self = def test_recheck_failed_services_optimal(self): """It should force a recheck of all services for the hosts on the Icinga server.""" with open(get_fixture_path("icinga", "status_with_services.json")) as f: set_mocked_icinga_host_output(self.mocked_icinga_host, f.read()) print(self.mocked_icinga_host.run_sync.mock_calls) > raise RuntimeError E RuntimeError spicerack/tests/unit/test_icinga.py:413: RuntimeError ------------------------------------------------- Captured stdout call ------------------------------------------------- []