Example #1
0
 def test_check_docker_by_container_id_404(self):
     response, code = check_docker_by_container_id('fake_id')
     self.assertEqual(code, 404)
Example #2
0
 def test_check_docker_by_container_id_400(self):
     response, code = check_docker_by_container_id(None)
     self.assertEqual(code, 400)
Example #3
0
 def test_check_docker_by_container_id_202(self, m1, m2, m3):
     response, code = check_docker_by_container_id('fake_id')
     self.assertEqual(code, 202)
Example #4
0
 def test_check_docker_by_container_id_404(self):
     response, code = check_docker_by_container_id('fake_id')
     self.assertEqual(code, 404)
Example #5
0
 def test_check_docker_by_container_id_400(self):
     response, code = check_docker_by_container_id(None)
     self.assertEqual(code, 400)
Example #6
0
 def test_check_docker_by_container_id_202(self, m1, m2, m3):
     response, code = check_docker_by_container_id('fake_id')
     self.assertEqual(code, 202)