예제 #1
0
 def test_not_available(self):
     with MonkeyPatchScope([(docker, '_DOCKER', NonePath())]):
         self.assertFalse(docker.available())
예제 #2
0
 def test_not_available(self):
     with MonkeyPatchScope([(docker, '_DOCKER', NonePath())]):
         self.assertFalse(docker.available())
예제 #3
0
 def test_available(self):
     self.assertTrue(docker.available())
예제 #4
0
 def test_available(self):
     self.assertTrue(docker.available())