Example #1
0
 def test_piggybacked_host_footer(self):
     line = b"<<<<>>>>"
     assert SectionMarker.is_header(line) is False
     assert SectionMarker.is_footer(line) is False
     assert PiggybackMarker.is_header(line) is False
     assert PiggybackMarker.is_footer(line) is True
Example #2
0
 def test_section_footer(self, line):
     assert SectionMarker.is_header(line) is False
     assert SectionMarker.is_footer(line) is True
     assert PiggybackMarker.is_header(line) is False
     assert PiggybackMarker.is_footer(line) is False