def test_fallback_meter_path(self): fall_bak_path = notifications.get_config_file() self.assertIn("meter/data/meters.yaml", fall_bak_path)
def test_fallback_meter_path(self): fall_bak_path = notifications.get_config_file() self.assertIn("meter/data/meters.yaml", fall_bak_path)
def test_fallback_meter_path(self): self.useFixture(mockpatch.PatchObject(self.CONF, 'find_file', return_value=None)) fall_bak_path = notifications.get_config_file() self.assertIn("meter/data/meters.yaml", fall_bak_path)
def test_fallback_meter_path(self): self.useFixture(mockpatch.PatchObject(self.CONF, 'find_file', return_value=None)) fall_bak_path = notifications.get_config_file() self.assertIn("meter/data/meters.yaml", fall_bak_path)