Home
last modified time | relevance | path

Searched refs:test_client (Results 1 – 25 of 681) sorted by relevance

12345678910>>...28

/dports/devel/py-moto/moto-2.2.16/tests/test_secretsmanager/
H A Dtest_server.py19 test_client = backend.test_client()
41 test_client = backend.test_client()
56 test_client = backend.test_client()
76 test_client = backend.test_client()
101 test_client = backend.test_client()
127 test_client = backend.test_client()
166 test_client = backend.test_client()
183 test_client = backend.test_client()
204 test_client = backend.test_client()
290 test_client = backend.test_client()
[all …]
/dports/devel/py-moto/moto-2.2.16/tests/test_dynamodb/
H A Dtest_server.py19 def test_client(): function
22 test_client = backend.test_client()
24 yield test_client
27 def test_404(test_client): argument
29 res = test_client.get("/")
101 test_client = backend.test_client()
219 res = test_client.post(
486 put_item(test_client)
796 put_item(test_client)
1026 test_client = backend.test_client()
[all …]
/dports/www/py-flask-jwt-extended/Flask-JWT-Extended-4.3.1/tests/
H A Dtest_view_decorators.py55 test_client = app.test_client()
82 test_client = app.test_client()
133 test_client = app.test_client()
160 test_client = app.test_client()
188 test_client = app.test_client()
245 test_client = app.test_client()
267 test_client = app.test_client()
287 test_client = app.test_client()
297 test_client = app.test_client()
320 test_client = app.test_client()
[all …]
H A Dtest_cookies.py115 test_client = app.test_client()
154 test_client = app.test_client()
181 test_client = app.test_client()
201 test_client = app.test_client()
221 test_client = app.test_client()
244 test_client = app.test_client()
269 test_client = app.test_client()
297 test_client = app.test_client()
322 test_client = app.test_client()
360 test_client = app.test_client()
[all …]
H A Dtest_headers.py26 test_client = app.test_client()
33 response = test_client.get("/protected", headers=access_headers)
43 response = test_client.get("/protected", headers=access_headers)
61 test_client = app.test_client()
74 test_client = app.test_client()
106 test_client = app.test_client()
156 test_client = app.test_client()
160 response = test_client.get("/protected", headers=None)
169 response = test_client.get("/protected", headers=None)
175 test_client = app.test_client()
[all …]
H A Dtest_json.py33 test_client = app.test_client()
40 response = test_client.post("/protected", data=data)
46 response = test_client.post("/refresh", data=data)
55 test_client = app.test_client()
63 response = test_client.post("/protected", json=data)
68 response = test_client.post("/refresh", json=data)
79 response = test_client.post("/refresh", json=data)
85 test_client = app.test_client()
105 test_client = app.test_client()
117 response = test_client.post("/refresh", json=data)
[all …]
H A Dtest_multiple_token_locations.py59 test_client = app.test_client()
71 test_client = app.test_client()
72 test_client.get("/cookie_login")
80 test_client = app.test_client()
85 response = test_client.get(url)
92 test_client = app.test_client()
124 test_client = app.test_client()
141 test_client = app.test_client()
142 test_client.get("/cookie_login")
163 test_client = app.test_client()
[all …]
H A Dtest_additional_claims_loader.py44 test_client = app.test_client()
45 response = test_client.get("/protected", headers=make_headers(access_token))
85 test_client = app.test_client()
86 response = test_client.get("/protected", headers=make_headers(access_token))
101 test_client = app.test_client()
113 test_client = app.test_client()
123 test_client = app.test_client()
124 response = test_client.get("/protected", headers=make_headers(access_token))
139 test_client = app.test_client()
140 response = test_client.get("/protected", headers=make_headers(access_token))
[all …]
H A Dtest_query_string.py27 test_client = app.test_client()
33 response = test_client.get(url)
40 test_client = app.test_client()
47 response = test_client.get(url)
53 response = test_client.get(url)
64 test_client = app.test_client()
71 response = test_client.get(url)
77 response = test_client.get(url)
83 test_client = app.test_client()
90 response = test_client.get("/protected")
[all …]
H A Dtest_jwt_header_loader.py43 test_client = app.test_client()
44 response = test_client.get("/protected", headers=make_headers(access_token))
71 test_client = app.test_client()
72 response = test_client.get("/protected2", headers=make_headers(refresh_token))
83 test_client = app.test_client()
84 response = test_client.get("/protected2", headers=make_headers(refresh_token))
95 test_client = app.test_client()
96 response = test_client.get("/protected", headers=make_headers(access_token))
113 test_client = app.test_client()
114 response = test_client.get("/protected", headers=make_headers(access_token))
[all …]
/dports/devel/py-moto/moto-2.2.16/tests/test_s3/
H A Dtest_server.py25 return backend.test_client()
29 test_client = authenticated_client()
30 res = test_client.get("/")
36 test_client = authenticated_client()
41 res = test_client.get("/")
81 test_client.post(
101 res = test_client.post(
128 res = test_client.put(
133 res = test_client.post(
167 res = test_client.options(
[all …]
/dports/devel/py-moto/moto-2.2.16/tests/test_apigateway/
H A Dtest_server.py13 test_client = backend.test_client()
21 test_client = backend.test_client()
56 test_client = backend.test_client()
68 res = test_client.get(
74 res = test_client.get(
80 res = test_client.get(
86 res = test_client.post(
97 res = test_client.get(
116 test_client = backend.test_client()
146 test_client = backend.test_client()
[all …]
/dports/devel/py-moto/moto-2.2.16/tests/test_s3bucket_path/
H A Dtest_server.py22 return backend.test_client()
26 test_client = authenticated_client()
28 res = test_client.get("/")
34 test_client = authenticated_client()
39 res = test_client.get("/")
49 res = test_client.get("/")
68 test_client = authenticated_client()
73 test_client.post(
85 test_client = authenticated_client()
90 test_client.post(
[all …]
/dports/devel/grpc/grpc-1.42.0/tools/run_tests/xds_k8s_test_driver/tests/
H A Dauthz_test.py161 def configure_and_assert(self, test_client: _XdsTestClient,
177 test_client.update_config.configure(rpc_types=[rpc_type],
179 self.assertRpcStatusCodes(test_client,
197 self.configure_and_assert(test_client, 'host-wildcard',
201 self.configure_and_assert(test_client, 'no-such-rule',
203 self.configure_and_assert(test_client, None,
211 self.configure_and_assert(test_client, 'header-regex-',
219 self.configure_and_assert(test_client, 'host-match1',
221 self.configure_and_assert(test_client, 'host-match2',
253 self.configure_and_assert(test_client, None,
[all …]
/dports/devel/libiqxmlrpc/libiqxmlrpc-0.13.5/tests/
H A Dclient.cc1 #define BOOST_TEST_MODULE test_client
23 Client_base* test_client = 0; variable
47 BOOST_REQUIRE(test_client); in BOOST_AUTO_TEST_CASE()
62 BOOST_REQUIRE(test_client); in BOOST_AUTO_TEST_CASE()
81 test_client->set_authinfo("", ""); in BOOST_AUTO_TEST_CASE()
87 BOOST_REQUIRE(test_client); in BOOST_AUTO_TEST_CASE()
88 Echo_proxy echo(test_client); in BOOST_AUTO_TEST_CASE()
95 BOOST_REQUIRE(test_client); in BOOST_AUTO_TEST_CASE()
96 Error_proxy err(test_client); in BOOST_AUTO_TEST_CASE()
104 BOOST_REQUIRE(test_client); in BOOST_AUTO_TEST_CASE()
[all …]
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/cheroot/test/
H A Dtest_core.py91 def test_client(testing_server): function
118 def test_normal_request(test_client): argument
169 c = test_client.get_connection()
188 c = test_client.get_connection()
257 c = test_client.get_connection()
272 c = test_client.get_connection()
325 test_client, request_line, argument
329 c = test_client.get_connection()
341 c = test_client.get_connection()
355 c = test_client.get_connection()
[all …]
H A Dtest_conn.py184 def test_client(testing_server): function
389 test_client.get(
639 test_client.server_instance.
664 conn = test_client.get_connection()
699 conn = test_client.get_connection()
727 conn = test_client.get_connection()
770 conn = test_client.get_connection()
856 def test_100_Continue(test_client): argument
983 def test_No_Message_Body(test_client): argument
1132 test_client, argument
[all …]
/dports/www/py-cheroot/cheroot-8.5.2/cheroot/test/
H A Dtest_core.py91 def test_client(testing_server): function
118 def test_normal_request(test_client): argument
169 c = test_client.get_connection()
188 c = test_client.get_connection()
257 c = test_client.get_connection()
272 c = test_client.get_connection()
325 test_client, request_line, argument
329 c = test_client.get_connection()
341 c = test_client.get_connection()
355 c = test_client.get_connection()
[all …]
H A Dtest_conn.py184 def test_client(testing_server): function
389 test_client.get(
639 test_client.server_instance.
664 conn = test_client.get_connection()
699 conn = test_client.get_connection()
727 conn = test_client.get_connection()
770 conn = test_client.get_connection()
856 def test_100_Continue(test_client): argument
983 def test_No_Message_Body(test_client): argument
1132 test_client, argument
[all …]
/dports/finance/fava/fava-1.18/tests/
H A Dtest_application.py31 result = test_client.get(url)
48 result = test_client.get(url)
58 result = test_client.get(url)
87 def test_help_ages(app, test_client): argument
92 result = test_client.get(url)
95 result = test_client.get(url)
106 result = test_client.get(url)
110 def test_incognito(app, test_client): argument
117 result = test_client.get(url)
129 result = test_client.get(url)
[all …]
H A Dtest_json_api.py36 response = test_client.get(url)
74 response = test_client.get(url)
83 response = test_client.get(url)
92 response = test_client.get(url)
103 response = test_client.put(url)
110 response = test_client.put(
128 result = test_client.put(
147 response = test_client.put(
165 response = test_client.put(
234 response = test_client.put(
[all …]
/dports/devel/py-moto/moto-2.2.16/tests/test_support/
H A Dtest_server.py16 test_client = backend.test_client()
18 res = test_client.get("/?Action=DescribeTrustedAdvisorChecks&Version=2015-12-01")
30 test_client = backend.test_client()
32 res = test_client.get("/?Action=DescribeTrustedAdvisorChecks&Version=2015-12-01")
43 test_client = backend.test_client()
45 res = test_client.get("/?Action=DescribeTrustedAdvisorChecks&Version=2015-12-01")
55 test_client = backend.test_client()
57 res = test_client.get("/?Action=DescribeTrustedAdvisorChecks&Version=2015-12-01")
/dports/devel/hpx/hpx-1.2.1/tests/unit/component/
H A Dnew_colocated.cpp27 struct test_client : hpx::components::client_base<test_client, test_server> struct
29 typedef hpx::components::client_base<test_client, test_server> base_type; argument
31 test_client(hpx::future<hpx::id_type> && id) in test_client() function
34 test_client(hpx::id_type && id) in test_client() function
58 test_client target = hpx::new_<test_client>(loc); in test_create_single_instance() argument
66 test_client target = hpx::new_<test_client>(loc); in test_create_single_instance()
67 test_client t1 = hpx::new_<test_client>(hpx::colocated(target)); in test_create_single_instance()
74 test_client target = hpx::new_<test_client>(loc); in test_create_single_instance()
75 test_client t2 = hpx::new_<test_client>(hpx::colocated(target)); in test_create_single_instance()
H A Dnew_.cpp29 struct test_client : hpx::components::client_base<test_client, test_server> struct
33 test_client(hpx::id_type const& id) in test_client() function
58 test_client t1 = hpx::new_<test_client>(loc); in test_create_single_instance() argument
66 test_client t2 = hpx::new_<test_client>(hpx::default_layout); in test_create_single_instance()
77 test_client t3 = hpx::new_<test_client>(hpx::default_layout(loc)); in test_create_single_instance()
99 std::vector<test_client> ids = hpx::new_<test_client[]>(loc, 10).get(); in test_create_multiple_instances()
102 for (test_client const& c: ids) in test_create_multiple_instances()
117 std::vector<test_client> clients = in test_create_multiple_instances()
120 for (test_client const& c: clients) in test_create_multiple_instances()
139 std::vector<test_client> ids = in test_create_multiple_instances()
[all …]
/dports/devel/hpx/hpx-1.2.1/tests/regressions/components/
H A Dnew_2848.cpp35 struct test_client : hpx::components::client_base<test_client, test_server> struct
39 test_client(hpx::id_type const& id) in test_client() function
64 test_client t1 = hpx::new_<test_client>(loc, 42); in test_create_single_instance() argument
72 test_client t2 = hpx::new_<test_client>(hpx::default_layout, 42); in test_create_single_instance()
84 test_client t3 = hpx::new_<test_client>(hpx::default_layout(loc), 42); in test_create_single_instance()
107 std::vector<test_client> ids = in test_create_multiple_instances()
111 for (test_client const& c: ids) in test_create_multiple_instances()
126 std::vector<test_client> clients = in test_create_multiple_instances()
129 for (test_client const& c: clients) in test_create_multiple_instances()
148 std::vector<test_client> ids = in test_create_multiple_instances()
[all …]

12345678910>>...28