| Conditions | 1 |
| Total Lines | 23 |
| Code Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """Tests for DB models.""" |
||
| 11 | def setUp(self): |
||
| 12 | self.evc_dict = { |
||
| 13 | "uni_a": { |
||
| 14 | "interface_id": "00:00:00:00:00:00:00:04:1", |
||
| 15 | "tag": { |
||
| 16 | "tag_type": 1, |
||
| 17 | "value": 100, |
||
| 18 | } |
||
| 19 | }, |
||
| 20 | "uni_z": { |
||
| 21 | "interface_id": "00:00:00:00:00:00:00:02:3", |
||
| 22 | "tag": { |
||
| 23 | "tag_type": 1, |
||
| 24 | "value": 100, |
||
| 25 | } |
||
| 26 | }, |
||
| 27 | "name": "EVC 2", |
||
| 28 | "dynamic_backup_path": True, |
||
| 29 | "creation_time": "2022-04-06T21:34:10", |
||
| 30 | "priority": 81, |
||
| 31 | "active": False, |
||
| 32 | "enabled": False, |
||
| 33 | "circuit_scheduler": [] |
||
| 34 | } |
||
| 49 |