We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec85f12 commit 6e0b5a8Copy full SHA for 6e0b5a8
tests/test.py
@@ -111,6 +111,11 @@ def setUp(self):
111
def tearDown(self):
112
self.client.close()
113
114
+ def assertIn(self, object, collection):
115
+ if six.PY2 and sys.version_info[1] <= 6:
116
+ return self.assertTrue(object in collection)
117
+ return super(DockerClientTest, self).assertIn(object, collection)
118
+
119
def base_create_payload(self, img='busybox', cmd=None):
120
if not cmd:
121
cmd = ['true']
0 commit comments