Home
last modified time | relevance | path

Searched refs:pair_factory (Results 1 – 18 of 18) sorted by relevance

/dports/ftp/py-aioftp/aioftp-0.20.0/tests/
H A Dtest_file.py12 async with pair_factory() as pair:
21 async with pair_factory() as pair:
29 async def test_mlsd_file(pair_factory): argument
30 async with pair_factory() as pair:
38 async with pair_factory() as pair:
47 async with pair_factory() as pair:
57 async with pair_factory() as pair:
67 async with pair_factory() as pair:
77 async with pair_factory() as pair:
88 async with pair_factory() as pair:
[all …]
H A Dtest_connection.py18 async def test_connection(pair_factory): argument
24 async def test_quit(pair_factory): argument
31 async with pair_factory() as pair:
38 async with pair_factory() as pair:
43 async def test_custom_passive_commands(pair_factory): argument
44 async with pair_factory(host="127.0.0.1") as pair:
53 async def test_extra_pasv_connection(pair_factory): argument
54 async with pair_factory() as pair:
78 async with pair_factory() as pair:
104 async with pair_factory(None, s) as pair:
[all …]
H A Dtest_login.py8 async with pair_factory(logged=False, do_quit=False) as pair:
14 async def test_anonymous_login(pair_factory): argument
15 async with pair_factory():
20 async def test_login_with_login_data(pair_factory): argument
21 async with pair_factory(logged=False) as pair:
28 async with pair_factory(None, s, logged=False) as pair:
35 async with pair_factory(None, s, logged=False) as pair:
41 pair_factory, Server, expect_codes_in_exception): argument
43 async with pair_factory(None, s, logged=False) as pair:
50 pair_factory, Server, expect_codes_in_exception): argument
[all …]
H A Dtest_passive.py10 async def test_client_fallback_to_pasv_at_list(pair_factory): argument
11 async with pair_factory(host="127.0.0.1") as pair:
19 async with pair_factory(host="127.0.0.1") as pair:
29 async def test_client_only_passive_list(pair_factory): argument
30 async with pair_factory(host="127.0.0.1") as pair:
37 async with pair_factory(host="127.0.0.1") as pair:
43 async def test_passive_no_choices(pair_factory): argument
44 async with pair_factory() as pair:
51 async def test_passive_bad_choices(pair_factory): argument
52 async with pair_factory() as pair:
[all …]
H A Dtest_directory_actions.py10 async with pair_factory() as pair:
23 async with pair_factory() as pair:
33 async with pair_factory() as pair:
40 async def test_change_directory(pair_factory): argument
41 async with pair_factory() as pair:
54 async with pair_factory() as pair:
61 async with pair_factory() as pair:
72 async with pair_factory() as pair:
97 async with pair_factory(None, s) as pair:
103 async def test_list_recursive(pair_factory): argument
[all …]
H A Dtest_corner_cases.py9 async def test_server_side_exception(pair_factory): argument
17 factory = pair_factory(server_factory=CustomServer, do_quit=False)
25 async with pair_factory() as pair:
31 async def test_pbsz(pair_factory): argument
32 async with pair_factory() as pair:
37 async def test_prot(pair_factory, expect_codes_in_exception): argument
38 async with pair_factory() as pair:
46 async with pair_factory(host="::1", do_quit=False) as pair:
53 async with pair_factory(do_quit=False) as pair:
59 async def test_bad_server_path_io(pair_factory, Server, argument
[all …]
H A Dtest_current_directory.py9 async def test_current_directory_simple(pair_factory): argument
10 async with pair_factory() as pair:
16 async def test_current_directory_not_default(pair_factory, Server): argument
18 async with pair_factory(None, s) as pair:
24 async def test_mlsd(pair_factory): argument
25 async with pair_factory() as pair:
34 async def test_resolving_double_dots(pair_factory): argument
35 async with pair_factory() as pair:
H A Dtest_abort.py11 async def test_abort_stor(pair_factory): argument
12 async with pair_factory() as pair:
28 async def test_abort_retr(pair_factory, Server): argument
30 async with pair_factory(None, s) as pair:
43 async def test_abort_retr_no_wait(pair_factory, Server, argument
46 async with pair_factory(None, s) as pair:
60 async def test_nothing_to_abort(pair_factory): argument
61 async with pair_factory() as pair:
89 async def test_mlsd_abort(pair_factory, Server): argument
91 async with pair_factory(None, s) as pair:
H A Dtest_maximum_connections.py9 async def test_multiply_connections_no_limits(pair_factory): argument
12 async with pair_factory() as pair:
23 async def test_multiply_connections_limited_error(pair_factory, Server, argument
28 async with pair_factory(None, s) as pair:
41 async def test_multiply_user_commands(pair_factory, Server): argument
43 async with pair_factory(None, s) as pair:
50 pair_factory, Server, expect_codes_in_exception): argument
54 async with pair_factory(None, s, connected=False) as pair:
69 pair_factory, Server, expect_codes_in_exception): argument
73 async with pair_factory(None, s, connected=False) as pair:
H A Dtest_restart.py6 async def test_restart_retr(pair_factory, offset): argument
7 async with pair_factory() as pair:
18 async def test_restart_stor_appe(pair_factory, offset, method): argument
19 async with pair_factory() as pair:
34 async def test_restart_reset(pair_factory): argument
35 async with pair_factory() as pair:
45 async def test_restart_syntax_error(pair_factory, expect_codes_in_exception): argument
46 async with pair_factory() as pair:
H A Dtest_extra.py7 async def test_stream_iter_by_line(pair_factory): argument
8 async with pair_factory() as pair:
19 async def test_stream_close_without_finish(pair_factory): argument
26 async with pair_factory() as pair:
40 async def test_syst_command(pair_factory): argument
41 async with pair_factory() as pair:
H A Dtest_list_fallback.py16 async def test_client_fallback_to_list_at_list(pair_factory): argument
17 async with pair_factory() as pair:
38 async def test_client_list_override(pair_factory): argument
39 async with pair_factory() as pair:
49 async def test_client_list_override_invalid_raw_command(pair_factory): argument
50 async with pair_factory() as pair:
98 async def test_client_list_override_with_custom(pair_factory, Client): argument
109 async with pair_factory(Client(parse_list_line_custom=parser)) as pair:
121 async def test_client_list_override_with_custom_last(pair_factory, Client): argument
136 async with pair_factory(client) as pair:
H A Dtest_client_side_socks.py6 async def test_socks_success(pair_factory, Client, socks): argument
9 async with pair_factory(client):
14 async def test_socks_fail(pair_factory, Client, socks): argument
18 async with pair_factory(client):
H A Dtest_permissions.py7 async def test_permission_denied(pair_factory, Server, argument
12 async with pair_factory(None, s) as pair:
18 async def test_permission_overriden(pair_factory, Server): argument
27 async with pair_factory(None, s) as pair:
H A Dtest_throttle.py23 async def test_client_side_throttle(pair_factory, skip_sleep, times, type, argument
25 async with pair_factory() as pair:
43 async def test_server_side_throttle(pair_factory, skip_sleep, times, users, argument
46 async with pair_factory() as pair:
H A Dconftest.py55 def pair_factory(request): function
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/
H A Dgranular_styles.h94 PairStyles::Factory & pair_factory = PairStyles::Factory::instance(); in RegisterGranularStyles() local
98 pair_factory.addVariantSelector("gran", ContactModels::Factory::select); in RegisterGranularStyles()
103 registerPair<MODEL, TANGENTIAL, COHESION, ROLLING, SURFACE>("gran", pair_factory); \ in RegisterGranularStyles()
108 …Pair<NORMAL_OFF, TANGENTIAL_OFF, COHESION_OFF, ROLLING_OFF, SURFACE_DEFAULT>("gran", pair_factory); in RegisterGranularStyles()
/dports/science/mpqc/mpqc-2.3.1/src/lib/chemistry/qc/mbptr12/
H A Dr12int_eval.cc587 MOPairIterFactory pair_factory; in compute_r2_() local
588 RefSCDimension dim_ij = pair_factory.scdim_ab(space1,space1); in compute_r2_()
589 RefSCDimension dim_kl = pair_factory.scdim_ab(space1,space2); in compute_r2_()