Skip to content
Snippets Groups Projects
Commit 8d994f44 authored by martinRenou's avatar martinRenou
Browse files

Fix coverage

parent a4b62f42
No related branches found
No related tags found
1 merge request!87Create PowerEvaluator data source
...@@ -49,3 +49,9 @@ class TestPowerEvaluatorDataSource(unittest.TestCase): ...@@ -49,3 +49,9 @@ class TestPowerEvaluatorDataSource(unittest.TestCase):
self.assertEqual(len(slots[1]), 1) self.assertEqual(len(slots[1]), 1)
self.assertIsInstance(slots[0][0], Slot) self.assertIsInstance(slots[0][0], Slot)
self.assertIsInstance(slots[1][0], Slot) self.assertIsInstance(slots[1][0], Slot)
model.cuba_type_in = 'METER'
model.cuba_type_out = 'METER'
slots = ds.slots(model)
self.assertEqual(slots[0][0].type, 'METER')
self.assertEqual(slots[1][0].type, 'METER')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment