Passed
Push — master ( b50e97...feedcb )
by Humberto
01:28 queued 14s
created

TestEchoReply.setUpClass()   A

Complexity

Conditions 1

Size

Total Lines 7
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
"""Echo reply message tests."""
2
from pyof.v0x01.symmetric.echo_reply import EchoReply
3
from tests.unit.test_struct import TestStruct
4
5
6
class TestEchoReply(TestStruct):
7
    """Echo 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_echo_reply')
14
        super().set_raw_dump_object(EchoReply, xid=0)
15
        super().set_minimum_size(8)
16