コード例 #1
0
            def _check_two_ingresses():
                assert Ingress.get(name)
                assert Ingress.get("{}-1".format(name))

                for ingress_name, expected_dict in expected.items():
                    actual = Ingress.get(ingress_name)
                    assert_k8s_resource_matches(actual, expected_dict, IMAGE1, None, DEPLOYMENT_ID1, None, app_uid)
コード例 #2
0
 def cleanup_complete():
     for name, _ in expected.items():
         with pytest.raises(NotFound):
             Ingress.get(name)
コード例 #3
0
 def _check_one_ingress():
     assert Ingress.get(name)
     with pytest.raises(NotFound):
         Ingress.get("{}-1".format(name))