mirror of https://github.com/docker/docker-py.git
assertIn not supported in py26
This commit is contained in:
parent
1d1395464c
commit
2e66ca8a6c
|
@ -525,9 +525,9 @@ class DockerClientTest(unittest.TestCase):
|
|||
folder = tempfile.mkdtemp()
|
||||
cfg = docker.auth.load_config(folder)
|
||||
self.assertTrue(cfg is not None)
|
||||
self.assertIn('Configs', cfg)
|
||||
self.assertTrue('Configs' in cfg)
|
||||
self.assertEquals(cfg['Configs'], {})
|
||||
self.assertIn('rootPath', cfg)
|
||||
self.assertTrue('rootPath' in cfg)
|
||||
self.assertEquals(cfg['rootPath'], folder)
|
||||
|
||||
def test_load_config(self):
|
||||
|
|
Loading…
Reference in New Issue