Skip to content

Commit

Permalink
Add another combination to the tags test literals
Browse files Browse the repository at this point in the history
  • Loading branch information
rbtcollins committed Jul 30, 2024
1 parent aa016fd commit ffb5fd5
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions python/subunit/tests/test_subunit_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,24 @@ def test_add_tag(self):
# stream.status(
# test_id='test', test_status='success', test_tags=set(['bar', 'quux', 'foo']))
reference = [
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86\xb3)"
b"\x83\x1b\x04test\x03\x03bar\x04quux\x03fooqn\xab)",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86\xb3)"
b"\x83\x1b\x04test\x03\x04quux\x03foo\x03bar\xaf\xbd\x9d\xd6",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86\xb3)"
b"\x83\x1b\x04test\x03\x04quux\x03bar\x03foo\x03\x04b\r",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86\xb3)"
b"\x83\x1b\x04test\x03\x03bar\x03foo\x04quux\xd2\x18\x1bC",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec\xb3)"
b"\x83\x1b\x04test\x03\x03foo\x04quux\x03bar\x08\xc2X\x83",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec\xb3)"
b"\x83\x1b\x04test\x03\x03bar\x03foo\x04quux\xd2\x18\x1bC",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec\xb3)"
b"\x83\x1b\x04test\x03\x03foo\x03bar\x04quux:\x05e\x80",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec\xb3)"
b"\x83\x1b\x04test\x03\x04quux\x03foo\x03bar\xaf\xbd\x9d\xd6",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86"
b"\xb3)\x83\x1b\x04test\x03\x03bar\x04quux\x03fooqn\xab)",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86"
b"\xb3)\x83\x1b\x04test\x03\x04quux\x03foo\x03bar\xaf\xbd\x9d\xd6",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86"
b"\xb3)\x83\x1b\x04test\x03\x04quux\x03bar\x03foo\x03\x04b\r",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86"
b"\xb3)\x83\x1b\x04test\x03\x03bar\x03foo\x04quux\xd2\x18\x1bC",
b"\xb3)\x82\x17\x04test\x02\x04quux\x03foo\x05\x97n\x86"
b"\xb3)\x83\x1b\x04test\x03\x03foo\x04quux\x03bar\x08\xc2X\x83",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec"
b"\xb3)\x83\x1b\x04test\x03\x03foo\x04quux\x03bar\x08\xc2X\x83",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec"
b"\xb3)\x83\x1b\x04test\x03\x03bar\x03foo\x04quux\xd2\x18\x1bC",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec"
b"\xb3)\x83\x1b\x04test\x03\x03foo\x03bar\x04quux:\x05e\x80",
b"\xb3)\x82\x17\x04test\x02\x03foo\x04quux\xa6\xe1\xde\xec"
b"\xb3)\x83\x1b\x04test\x03\x04quux\x03foo\x03bar\xaf\xbd\x9d\xd6",
]
stream = subunit.StreamResultToBytes(self.original)
stream.status(test_id="test", test_status="inprogress", test_tags={"foo"})
Expand Down

0 comments on commit ffb5fd5

Please sign in to comment.