summaryrefslogtreecommitdiff
path: root/python/subunit/tests
diff options
context:
space:
mode:
authorThomi Richards <thomi.richards@canonical.com>2013-11-19 11:01:15 +1300
committerThomi Richards <thomi.richards@canonical.com>2013-11-19 11:01:15 +1300
commit8782262d7d0750beb6111b8197865343fe0a8637 (patch)
tree9d3a8090ab2f20d4ad289c462b7133fc3f446a54 /python/subunit/tests
parentd54483571e0cb8da9da9bfa5c407a6c152027a28 (diff)
downloadsubunit-git-8782262d7d0750beb6111b8197865343fe0a8637.tar.gz
Extend test to make sure that by default no mime-type is specified.
Diffstat (limited to 'python/subunit/tests')
-rw-r--r--python/subunit/tests/test_output_filter.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/subunit/tests/test_output_filter.py b/python/subunit/tests/test_output_filter.py
index 9d530c5..ef6dc9a 100644
--- a/python/subunit/tests/test_output_filter.py
+++ b/python/subunit/tests/test_output_filter.py
@@ -216,12 +216,12 @@ class FileChunkingTests(TestCase):
self.assertThat(
result._events,
MatchesListwise([
- MatchesCall(call='status', file_bytes='H', eof=False),
- MatchesCall(call='status', file_bytes='e', eof=False),
- MatchesCall(call='status', file_bytes='l', eof=False),
- MatchesCall(call='status', file_bytes='l', eof=False),
- MatchesCall(call='status', file_bytes='o', eof=False),
- MatchesCall(call='status', file_bytes='', eof=True),
+ MatchesCall(call='status', file_bytes='H', mime_type=None, eof=False),
+ MatchesCall(call='status', file_bytes='e', mime_type=None, eof=False),
+ MatchesCall(call='status', file_bytes='l', mime_type=None, eof=False),
+ MatchesCall(call='status', file_bytes='l', mime_type=None, eof=False),
+ MatchesCall(call='status', file_bytes='o', mime_type=None, eof=False),
+ MatchesCall(call='status', file_bytes='', mime_type=None, eof=True),
])
)