Fixes failing gate job due to different mimetypes on different OSes
Closes-Bug: #1697562 Change-Id: If1eccedc87c259685d8d7798f479bb81406b4b04
This commit is contained in:
parent
759ed4df86
commit
0013e11026
|
@ -136,8 +136,9 @@ class TestFreezerCompressGzip(base.BaseFreezerTest):
|
|||
self.assertEqual('gzip', metadata['compression'])
|
||||
|
||||
# file utility should detect the correct mimetype
|
||||
gizp_mimetypes = ['application/gzip', 'application/x-gzip']
|
||||
mimetype = self._file_get_mimetype(metadata)
|
||||
self.assertEqual('application/gzip', mimetype)
|
||||
self.assertIn(mimetype, gizp_mimetypes)
|
||||
|
||||
# actual contents should be the same
|
||||
diff_args = ['diff', '-r', '-q',
|
||||
|
|
Loading…
Reference in New Issue