Conditions | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | """Testing Error Message.""" |
||
10 | @classmethod |
||
11 | def setUpClass(cls): |
||
12 | """Setup TestStruct.""" |
||
13 | super().setUpClass() |
||
14 | super().set_raw_dump_file('v0x01', 'ofpt_error_msg') |
||
15 | super().set_raw_dump_object(ErrorMsg, xid=12, |
||
16 | error_type=ErrorType.OFPET_BAD_REQUEST, |
||
17 | code=BadRequestCode.OFPBRC_BAD_STAT, |
||
18 | data=b'') |
||
19 | |||
20 | super().set_minimum_size(12) |
||
21 | |||
35 |