def test_init_results(self): """Make sure _init_results does what is expected""" config = Config() config.monitors = {"http://test/": {}, "http://test2/": {}} result = App._init_results(config) assert result["http://test/"] is None assert result["http://test2/"] is None
def test_init_results(self): """Make sure _init_results does what is expected""" config = Config() config.monitors = { "http://test/": {}, "http://test2/": {} } result = App._init_results(config) assert result["http://test/"] is None assert result["http://test2/"] is None