diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-02-02 19:50:04 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@jelmer.uk> | 2023-02-02 19:50:04 +0000 |
commit | 15fc58f06240f99d0652283b16787dcaa4d74e28 (patch) | |
tree | 0d611cafadf455cce6c8bb208da4acd2ff05ea25 /python/subunit/tests/test_test_protocol2.py | |
parent | f5f90c27361ed8b5a2d0809edc979b49ccbc4fac (diff) | |
download | subunit-git-15fc58f06240f99d0652283b16787dcaa4d74e28.tar.gz |
Diffstat (limited to 'python/subunit/tests/test_test_protocol2.py')
-rw-r--r-- | python/subunit/tests/test_test_protocol2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/tests/test_test_protocol2.py b/python/subunit/tests/test_test_protocol2.py index 1f542d5..4f0eb9f 100644 --- a/python/subunit/tests/test_test_protocol2.py +++ b/python/subunit/tests/test_test_protocol2.py @@ -213,7 +213,7 @@ class TestStreamResultToBytes(TestCase): def test_tags(self): result, output = self._make_result() - result.status(test_id="bar", test_tags=set(['foo', 'bar'])) + result.status(test_id="bar", test_tags={'foo', 'bar'}) self.assertThat(CONSTANT_TAGS, Contains(output.getvalue())) def test_timestamp(self): @@ -378,7 +378,7 @@ class TestByteStreamToStreamResult(TestCase): def test_tags(self): self.check_event(CONSTANT_TAGS[0], - None, tags=set(['foo', 'bar']), test_id="bar") + None, tags={'foo', 'bar'}, test_id="bar") def test_timestamp(self): timestamp = datetime.datetime(2001, 12, 12, 12, 59, 59, 45, |