Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """Test GetConfigReply message.""" |
||
2 | from pyof.v0x01.controller2switch.common import ConfigFlag |
||
3 | from pyof.v0x01.controller2switch.get_config_reply import GetConfigReply |
||
4 | from tests.unit.test_struct import TestStruct |
||
5 | |||
6 | |||
7 | class TestGetConfigReply(TestStruct): |
||
8 | """Test class for TestGetConfigReply.""" |
||
9 | |||
10 | @classmethod |
||
11 | def setUpClass(cls): |
||
12 | """[Controller2Switch/GetConfigReply] - size 12.""" |
||
13 | super().setUpClass() |
||
14 | super().set_raw_dump_file('v0x01', 'ofpt_get_config_reply') |
||
15 | super().set_raw_dump_object(GetConfigReply, xid=13, |
||
16 | flags=ConfigFlag.OFPC_FRAG_REASM, |
||
17 | miss_send_len=1024) |
||
18 | super().set_minimum_size(12) |
||
19 |