def test_register_view(self): exp = base_exporter.StatsExporter() view = mock.Mock() with self.assertRaises(NotImplementedError): exp.on_register_view(view)
def test_emit(self): exp = base_exporter.StatsExporter() view_data = [] with self.assertRaises(NotImplementedError): exp.emit(view_data)