| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """Barrier reply message tests.""" |
||
| 2 | from pyof.v0x01.controller2switch.barrier_reply import BarrierReply |
||
| 3 | from tests.unit.test_struct import TestStruct |
||
| 4 | |||
| 5 | |||
| 6 | class TestBarrierReply(TestStruct): |
||
| 7 | """Barrier reply message tests (also those in :class:`.TestDump`).""" |
||
| 8 | |||
| 9 | @classmethod |
||
| 10 | def setUpClass(cls): |
||
| 11 | """Configure raw file and its object in parent class (TestDump).""" |
||
| 12 | super().setUpClass() |
||
| 13 | super().set_raw_dump_file('v0x01', 'ofpt_barrier_reply') |
||
| 14 | super().set_raw_dump_object(BarrierReply, xid=5) |
||
| 15 | super().set_minimum_size(8) |
||
| 16 |