/dports/www/py-treq/treq-20.9.0/src/treq/test/ |
H A D | test_response.py | 13 class FakeResponse(object): class 37 original = FakeResponse(200, headers, body=[b'<!DOCTYPE html>']) 47 original = FakeResponse(204, Headers(), body=[b'']) 58 original = FakeResponse(418, headers, body=[b'']) 69 original = FakeResponse(200, headers) 97 original = FakeResponse(200, Headers(), body=[b'{"foo": ', 108 original = FakeResponse(200, headers, body=[b'\xe2\x98', b'\x83']) 115 redirect1 = FakeResponse( 120 redirect2 = FakeResponse( 126 final = FakeResponse(200, Headers({})) [all …]
|
/dports/mail/mailman3/mailman-3.3.1/src/mailman/rest/tests/ |
H A D | test_helpers.py | 36 class FakeResponse: class 49 response = FakeResponse() 54 response = FakeResponse() 59 response = FakeResponse() 64 response = FakeResponse() 69 response = FakeResponse() 88 response = FakeResponse() 94 response = FakeResponse() 100 response = FakeResponse() 109 response = FakeResponse() [all …]
|
/dports/net/evans/evans-0.9.1/vendor/github.com/rs/cors/ |
H A D | bench_test.go | 8 type FakeResponse struct { struct 12 func (r FakeResponse) Header() http.Header { argument 16 func (r FakeResponse) WriteHeader(n int) { argument 19 func (r FakeResponse) Write(b []byte) (n int, err error) { argument 24 res := FakeResponse{http.Header{}} 35 res := FakeResponse{http.Header{}} 48 res := FakeResponse{http.Header{}} 64 res := FakeResponse{http.Header{}} 77 res := FakeResponse{http.Header{}}
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/rs/cors/ |
H A D | bench_test.go | 8 type FakeResponse struct { struct 12 func (r FakeResponse) Header() http.Header { argument 16 func (r FakeResponse) WriteHeader(n int) { argument 19 func (r FakeResponse) Write(b []byte) (n int, err error) { argument 24 res := FakeResponse{http.Header{}} 35 res := FakeResponse{http.Header{}} 48 res := FakeResponse{http.Header{}} 64 res := FakeResponse{http.Header{}} 77 res := FakeResponse{http.Header{}}
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/rs/cors/ |
H A D | bench_test.go | 8 type FakeResponse struct { struct 12 func (r FakeResponse) Header() http.Header { argument 16 func (r FakeResponse) WriteHeader(n int) { argument 19 func (r FakeResponse) Write(b []byte) (n int, err error) { argument 24 res := FakeResponse{http.Header{}} 35 res := FakeResponse{http.Header{}} 48 res := FakeResponse{http.Header{}} 64 res := FakeResponse{http.Header{}} 77 res := FakeResponse{http.Header{}}
|
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/rs/cors/ |
H A D | bench_test.go | 8 type FakeResponse struct { struct 12 func (r FakeResponse) Header() http.Header { argument 16 func (r FakeResponse) WriteHeader(n int) { argument 19 func (r FakeResponse) Write(b []byte) (n int, err error) { argument 24 res := FakeResponse{http.Header{}} 35 res := FakeResponse{http.Header{}} 48 res := FakeResponse{http.Header{}} 64 res := FakeResponse{http.Header{}} 77 res := FakeResponse{http.Header{}}
|
/dports/www/gitlab-pages/gitlab-pages-f8512edbec4ec83b426c8ca2dda467de424685e4/vendor/github.com/rs/cors/ |
H A D | bench_test.go | 8 type FakeResponse struct { struct 12 func (r FakeResponse) Header() http.Header { argument 16 func (r FakeResponse) WriteHeader(n int) { argument 19 func (r FakeResponse) Write(b []byte) (n int, err error) { argument 24 res := FakeResponse{http.Header{}} 35 res := FakeResponse{http.Header{}} 48 res := FakeResponse{http.Header{}} 64 res := FakeResponse{http.Header{}} 77 res := FakeResponse{http.Header{}}
|
/dports/net/py-ripe.atlas.tools/ripe.atlas.tools-2.3.0/tests/ |
H A D | test_ipdetails.py | 52 class FakeResponse(object): class 62 class FakeErrorResponse(FakeResponse): 91 self.mock_get.return_value = FakeResponse( 166 self.mock_get.return_value = FakeResponse( 170 self.mock_get.return_value = FakeResponse( 185 self.mock_get.return_value = FakeResponse( 213 self.mock_get.return_value = FakeResponse( 219 self.mock_get.return_value = FakeResponse( 228 self.mock_get.return_value = FakeResponse( 235 self.mock_get.return_value = FakeResponse( [all …]
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/internal/ |
H A D | async_read_write_stream_impl_test.cc | 41 struct FakeResponse { struct 52 grpc::ClientAsyncReaderWriterInterface<FakeRequest, FakeResponse>>; 55 : public grpc::ClientAsyncReaderWriterInterface<FakeRequest, FakeResponse> { 58 MOCK_METHOD(void, Read, (FakeResponse*, void*), (override)); 81 .WillOnce([](FakeResponse* response, void*) { in TEST() 85 .WillOnce([](FakeResponse* response, void*) { in TEST() 89 .WillOnce([](FakeResponse*, void*) {}); in TEST() argument 117 auto stream = MakeStreamingReadWriteRpc<FakeRequest, FakeResponse>( in TEST()
|
/dports/www/p5-HTML-Form/HTML-Form-6.07/t/ |
H A D | form-multi-select.t | 11 my @forms = HTML::Form->parse( FakeResponse::One->new ); 18 my @forms = HTML::Form->parse( FakeResponse::TwoForms->new ); 26 package FakeResponse::One; 61 package FakeResponse::TwoForms;
|
/dports/net/py-python-heatclient/python-heatclient-2.4.0/heatclient/tests/unit/ |
H A D | test_template_versions.py | 27 class FakeResponse(object): class 35 return FakeResponse() 46 class FakeResponse(object): class 53 return FakeResponse()
|
/dports/devel/py-openstacksdk/openstacksdk-0.60.0/openstack/tests/unit/image/v2/ |
H A D | test_image.py | 99 class FakeResponse: class 125 self.sess.put = mock.Mock(return_value=FakeResponse({})) 372 resp = FakeResponse( 387 resp = FakeResponse( 398 resp1 = FakeResponse( 401 resp2 = FakeResponse( 417 resp1 = FakeResponse( 420 resp2 = FakeResponse({"checksum": None}) 446 resp = FakeResponse( 529 FakeResponse({'images': []}), [all …]
|
/dports/devel/py-keystonemiddleware/keystonemiddleware-9.3.0/keystonemiddleware/tests/unit/ |
H A D | test_ec2_token_middleware.py | 30 class FakeResponse(object): class 77 return_value=FakeResponse(EMPTY_RESPONSE, status_code=200)) 108 return_value=FakeResponse(EMPTY_RESPONSE, status_code=200)) 159 return_value=FakeResponse(EMPTY_RESPONSE)) 172 return_value=FakeResponse(EMPTY_RESPONSE))
|
/dports/www/py-sseclient/sseclient-0.0.27/ |
H A D | test_sseclient.py | 75 class FakeResponse(object): class 102 fake_get = mock.Mock(return_value=FakeResponse(200, content, encoding=encoding)) 116 fake_get = mock.Mock(return_value=FakeResponse(200, content)) 144 fake_get = mock.Mock(return_value=FakeResponse(200, content)) 167 fake_get = mock.Mock(return_value=FakeResponse(200, content)) 230 fake_get = mock.Mock(return_value=FakeResponse(200, content))
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/test/ |
H A D | test_http_cookiejar.py | 302 class FakeResponse: class 326 res = FakeResponse(headers, url) 974 res = FakeResponse(headers, "http://acme.com/") 979 res = FakeResponse(headers, "http://www.acme.com/") 1005 res = FakeResponse(headers, "http://www.acme.com/") 1030 res = FakeResponse(headers, "http://www.acme.com/") 1042 res = FakeResponse(headers, "http://acme.com/") 1385 res = FakeResponse(headers, "http://www.acme.com/") 1395 res = FakeResponse(headers, "http://www.acme.com/") 1406 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/test/ |
H A D | test_http_cookiejar.py | 302 class FakeResponse: class 326 res = FakeResponse(headers, url) 974 res = FakeResponse(headers, "http://acme.com/") 979 res = FakeResponse(headers, "http://www.acme.com/") 1005 res = FakeResponse(headers, "http://www.acme.com/") 1030 res = FakeResponse(headers, "http://www.acme.com/") 1042 res = FakeResponse(headers, "http://acme.com/") 1385 res = FakeResponse(headers, "http://www.acme.com/") 1395 res = FakeResponse(headers, "http://www.acme.com/") 1406 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 972 res = FakeResponse(headers, "http://acme.com/") 977 res = FakeResponse(headers, "http://www.acme.com/") 1003 res = FakeResponse(headers, "http://www.acme.com/") 1028 res = FakeResponse(headers, "http://www.acme.com/") 1040 res = FakeResponse(headers, "http://acme.com/") 1383 res = FakeResponse(headers, "http://www.acme.com/") 1393 res = FakeResponse(headers, "http://www.acme.com/") 1404 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/lang/python37/Python-3.7.12/Lib/test/ |
H A D | test_http_cookiejar.py | 300 class FakeResponse: class 324 res = FakeResponse(headers, url) 949 res = FakeResponse(headers, "http://acme.com/") 954 res = FakeResponse(headers, "http://www.acme.com/") 980 res = FakeResponse(headers, "http://www.acme.com/") 1005 res = FakeResponse(headers, "http://www.acme.com/") 1017 res = FakeResponse(headers, "http://acme.com/") 1305 res = FakeResponse(headers, "http://www.acme.com/") 1315 res = FakeResponse(headers, "http://www.acme.com/") 1326 res = FakeResponse(headers, "http://www.acme.com") [all …]
|
/dports/www/py-mechanize/mechanize-0.4.7/test/ |
H A D | test_cookies.py | 20 class FakeResponse: class 49 res = FakeResponse(headers, url) 784 res = FakeResponse(headers, "http://acme.com/") 789 res = FakeResponse(headers, "http://www.acme.com/") 819 res = FakeResponse(headers, "http://www.acme.com/") 843 res = FakeResponse(headers, "http://www.acme.com/") 1375 res = FakeResponse(headers, "http://www.acme.com/") 1385 res = FakeResponse(headers, "http://www.acme.com/") 1396 res = FakeResponse(headers, "http://www.acme.com") 1447 res = FakeResponse(headers, "http://www.acme.com/") [all …]
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_cookielib.py | 220 class FakeResponse: class 246 res = FakeResponse(headers, url) 846 res = FakeResponse(headers, "http://acme.com/") 851 res = FakeResponse(headers, "http://www.acme.com/") 880 res = FakeResponse(headers, "http://www.acme.com/") 905 res = FakeResponse(headers, "http://www.acme.com/") 1191 res = FakeResponse(headers, "http://www.acme.com/") 1201 res = FakeResponse(headers, "http://www.acme.com/") 1212 res = FakeResponse(headers, "http://www.acme.com") 1263 res = FakeResponse(headers, "http://www.acme.com/") [all …]
|