Skip to content

Commit

Permalink
interfaces: rmcp: add test case
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Walle <michael.walle@kontron.com>
  • Loading branch information
mwalle committed Oct 8, 2018
1 parent 170c162 commit c05dad0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/interfaces/test_rmcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def test_asfmsg(self):
pdu = m.pack()
eq_(pdu, b'\x00\x00\x11\xbe\x00\x00\x00\x00')

def test_tostr(self):
m = AsfMsg()
m.data = b'\xaa\xbb\xcc'
eq_(str(m), 'aa bb cc')


class TestIpmiMsg:
def test_ipmimsg_pack(self):
Expand Down

0 comments on commit c05dad0

Please sign in to comment.