Total Complexity | 1 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | """PortMod tests.""" |
||
2 | import unittest |
||
3 | |||
4 | from pyof.v0x04.controller2switch.port_mod import PortMod |
||
5 | |||
6 | |||
7 | class TestPortMod(unittest.TestCase): |
||
8 | """PortMod test.""" |
||
9 | |||
10 | def test_min_size(self): |
||
11 | """Test minimum message size.""" |
||
12 | self.assertEqual(40, PortMod().get_size()) |
||
13 |