Conditions | 1 |
Total Lines | 25 |
Code Lines | 21 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | """Tests for the DB controller.""" |
||
11 | def setUp(self) -> None: |
||
12 | self.eline = ELineController(MagicMock()) |
||
13 | self.evc_dict = { |
||
14 | "id": "1234", |
||
15 | "uni_a": { |
||
16 | "interface_id": "00:00:00:00:00:00:00:01:1", |
||
17 | "tag": { |
||
18 | "tag_type": 1, |
||
19 | "value": 200, |
||
20 | } |
||
21 | }, |
||
22 | "uni_z": { |
||
23 | "interface_id": "00:00:00:00:00:00:00:02:2", |
||
24 | "tag": { |
||
25 | "tag_type": 1, |
||
26 | "value": 200, |
||
27 | } |
||
28 | }, |
||
29 | "name": "EVC 1", |
||
30 | "dynamic_backup_path": True, |
||
31 | "creation_time": "2022-05-06T21:34:10", |
||
32 | "priority": 100, |
||
33 | "active": False, |
||
34 | "enabled": True, |
||
35 | "circuit_scheduler": [] |
||
36 | } |
||
58 |