Beispiel #1
0
 def testListAll(self):
     with Capturing() as listAllOut:
         container.list_container(self, "-a")
     self.assertIn(self.testcontainerName, str(listAllOut))
     self.assertIn("exited", str(listAllOut))
Beispiel #2
0
 def do_ps(self, inp):
     container.list_container(self, inp)
Beispiel #3
0
 def testList(self):
     with Capturing() as listOut:
         container.list_container(self, "")
     self.assertIn(self.testcontainerName, str(listOut))
     self.assertIn("running", str(listOut))