示例#1
0
 def test_create_build(self, openshift):
     response = openshift.create_build({})
     assert response is not None
     assert response.json()["metadata"]["name"] == TEST_BUILD
     assert response.json()["status"]["phase"].lower() in BUILD_FINISHED_STATES
示例#2
0
 def test_create_build(self, openshift):  # noqa
     response = openshift.create_build({})
     assert response is not None
     assert response.json()["metadata"]["name"] == TEST_BUILD
     assert response.json()["status"]["phase"].lower(
     ) in BUILD_FINISHED_STATES