def METHOD_NAME(pytestconfig):
    with patch("gql.client.Client.execute") as mock_gql_client:
        test_resources_dir = pytestconfig.rootpath / "tests/integration/circuit_breaker"
        f = open(
            f"{test_resources_dir}/assertion_gql_response_with_no_error.json",
        )
        data = json.load(f)
        mock_gql_client.side_effect = [lastUpdatedResponseBeforeLastAssertion, data]
        config = AssertionCircuitBreakerConfig(datahub_host="dummy")
        cb = AssertionCircuitBreaker(config)
        result = cb.is_circuit_breaker_active(
            urn="urn:li:dataset:(urn:li:dataPlatform:postgres,postgres1.postgres.public.foo1,PROD)"
        )
        assert result is False