mirror of
https://github.com/docker/compose.git
synced 2026-08-04 14:47:40 +00:00
Replace unittest-style asserts with pytest asserts
Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
parent
ddbc9e30b0
commit
b13ec16e11
14 changed files with 807 additions and 956 deletions
|
|
@ -50,5 +50,5 @@ class SplitBufferTest(unittest.TestCase):
|
|||
split = split_buffer(reader())
|
||||
|
||||
for (actual, expected) in zip(split, expectations):
|
||||
self.assertEqual(type(actual), type(expected))
|
||||
self.assertEqual(actual, expected)
|
||||
assert type(actual) == type(expected)
|
||||
assert actual == expected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue