Esempio n. 1
0
 def test_metrics_with_empty_entry_raises_config_error_exception(self):
     with pytest.raises(ConfigError):
         MetricsExecutor([{}], None)
Esempio n. 2
0
 def test_missed_metric_type_raises_config_error_exception(self):
     with pytest.raises(ConfigError):
         MetricsExecutor([{'undefined': ''}], None)
Esempio n. 3
0
 def test_missed_metrics_raises_config_error_exception(self):
     with pytest.raises(ConfigError):
         MetricsExecutor([], None)