Browse Source

Add __bytes__ test

pull/8/head
Richard Neumann 3 years ago
parent
commit
afe9e90202
  1. 4
      tests/test_battleye_proto.py

4
tests/test_battleye_proto.py

@ -15,3 +15,7 @@ class TestHeader(TestCase):
def test_header_from_bytes(self):
"""Tests header object parsing."""
self.assertEqual(Header.from_bytes(BYTES), HEADER)
def test_header_to_bytes(self):
"""Tests header object parsing."""
self.assertEqual(bytes(HEADER), BYTES)

Loading…
Cancel
Save