def test_cassette_get_missing_response(): a = Cassette("test") with pytest.raises(UnhandledHTTPRequestError): a.responses_of("foo")
def test_cassette_responses_of(): a = Cassette("test") a.append("foo", "bar") assert a.responses_of("foo") == ["bar"]
def test_cassette_responses_of(): a = Cassette('test') a.append('foo', 'bar') assert a.responses_of('foo') == ['bar']
def test_cassette_get_missing_response(): a = Cassette('test') with pytest.raises(UnhandledHTTPRequestError): a.responses_of('foo')