Home
last modified time | relevance | path

Searched refs:temp_dir (Results 1 – 25 of 37) sorted by relevance

12

/unit/test/
H A Dtest_static_chroot.py16 def setup_method_fixture(temp_dir): argument
44 def test_static_chroot(temp_dir): argument
55 def test_share_chroot_array(temp_dir): argument
73 def test_static_chroot_permission(require, temp_dir): argument
106 def test_static_chroot_variables(temp_dir): argument
119 assert get_custom(temp_dir, 'file') == 200
132 def test_static_chroot_slash(temp_dir): argument
150 def test_static_chroot_invalid(temp_dir): argument
152 {"share": temp_dir, "chroot": True},
156 {"share": temp_dir, "symlinks": "True"},
[all …]
H A Dtest_static_types.py11 def setup_method_fixture(temp_dir): argument
40 def test_static_types_basic(temp_dir): argument
59 def test_static_types_wildcard(temp_dir): argument
71 def test_static_types_negation(temp_dir): argument
90 def test_static_types_regex(temp_dir): argument
102 def test_static_types_case(temp_dir): argument
124 def test_static_types_fallback(temp_dir): argument
146 def test_static_types_index(temp_dir): argument
156 def test_static_types_custom_mime(temp_dir): argument
H A Dtest_static_variables.py12 def setup_method_fixture(temp_dir): argument
36 def test_static_variables(temp_dir): argument
47 def test_static_variables_array(temp_dir): argument
67 def test_static_variables_buildin_start(temp_dir): argument
69 assert client.get(url=temp_dir)['status'] == 200
72 def test_static_variables_buildin_mid(temp_dir): argument
81 def test_static_variables_invalid(temp_dir): argument
H A Dtest_php_isolation.py8 def test_php_isolation_rootfs(is_su, require, temp_dir): argument
9 isolation = {'rootfs': temp_dir}
43 def test_php_isolation_rootfs_extensions(is_su, require, temp_dir): argument
44 isolation = {'rootfs': temp_dir}
H A Dtest_static_symlink.py14 def setup_method_fixture(temp_dir): argument
29 def test_static_symlink(temp_dir, skip_alert): argument
54 def test_static_symlink_two_blocks(temp_dir, skip_alert): argument
83 def test_static_symlink_chroot(temp_dir, skip_alert): argument
H A Dtest_static.py15 def setup_method_fixture(temp_dir): argument
37 def test_static_index(temp_dir): argument
71 def test_static_index_invalid(skip_alert, temp_dir): argument
84 def test_static_large_file(temp_dir): argument
96 def test_static_etag(temp_dir): argument
116 def test_static_space_in_name(temp_dir): argument
177 def test_static_unix_socket(temp_dir): argument
186 def test_static_unix_fifo(temp_dir): argument
338 def test_static_mime_types_invalid(temp_dir): argument
H A Dtest_python_isolation.py34 def test_python_isolation_rootfs(is_su, require, temp_dir): argument
35 isolation = {'rootfs': temp_dir}
80 def test_python_isolation_rootfs_no_language_deps(require, temp_dir): argument
83 isolation = {'rootfs': temp_dir, 'automount': {'language_deps': False}}
105 def test_python_isolation_procfs(require, temp_dir): argument
108 isolation = {'rootfs': temp_dir, 'automount': {'procfs': False}}
H A Dtest_java_isolation_rootfs.py15 def setup_method_fixture(temp_dir): argument
54 def test_java_isolation_rootfs_chroot_war(temp_dir): argument
55 client.load('empty_war', isolation={'rootfs': temp_dir})
H A Dtest_static_mount.py15 def setup_method_fixture(temp_dir): argument
64 def test_static_mount(temp_dir, skip_alert): argument
88 def test_static_mount_two_blocks(temp_dir, skip_alert): argument
117 def test_static_mount_chroot(temp_dir, skip_alert): argument
H A Dtest_njs.py15 def setup_method_fixture(temp_dir): argument
41 def test_njs_template_string(temp_dir): argument
68 def test_njs_variables(temp_dir): argument
98 def test_njs_variables_cacheable(temp_dir): argument
H A Dtest_go_isolation_rootfs.py12 def test_go_isolation_rootfs_chroot(temp_dir): argument
13 client.load('ns_inspect', isolation={'rootfs': temp_dir})
H A Dtest_ruby_isolation.py8 def test_ruby_isolation_rootfs(is_su, require, temp_dir): argument
9 isolation = {'rootfs': temp_dir}
H A Dtest_python_isolation_chroot.py8 def test_python_isolation_chroot(temp_dir): argument
9 client.load('ns_inspect', isolation={'rootfs': temp_dir})
H A Dtest_go_isolation.py269 def test_go_isolation_rootfs_container(is_su, require, temp_dir): argument
284 isolation = {'rootfs': temp_dir}
303 def test_go_isolation_rootfs_container_priv(require, temp_dir): argument
308 'rootfs': temp_dir,
321 def test_go_isolation_rootfs_automount_tmpfs(is_su, require, temp_dir): argument
341 isolation = {'rootfs': temp_dir}
H A Dtest_static_fallback.py12 def setup_method_fixture(temp_dir): argument
54 def test_static_fallback_valid_path(temp_dir): argument
89 def test_static_fallback_share(temp_dir): argument
H A Dtest_static_share.py12 def setup_method_fixture(temp_dir): argument
32 def test_share_array(temp_dir): argument
H A Dtest_response_headers.py14 def setup_method_fixture(temp_dir): argument
41 def test_response_headers(temp_dir): argument
H A Dtest_usr1.py14 def test_usr1_access_log(search_in_file, temp_dir, unit_pid, wait_for_record): argument
48 def test_usr1_unit_log(search_in_file, temp_dir, unit_pid, wait_for_record): argument
H A Dtest_access_log.py114 def test_access_log_unix(temp_dir, wait_for_record): argument
273 def test_access_log_change(temp_dir, wait_for_record): argument
371 def test_access_log_incorrect(temp_dir, skip_alert): argument
H A Dtest_procman.py17 def setup_method_fixture(temp_dir): argument
224 def test_python_restart(temp_dir): argument
230 temp_dir,
H A Dtest_node_application.py166 def test_node_application_write_callback(temp_dir): argument
277 def test_node_application_promise_end(temp_dir): argument
H A Dtest_variables.py129 def test_variables_uri_no_cache(temp_dir): argument
425 def test_variables_response_header(temp_dir, wait_for_record): argument
516 def test_variables_invalid(temp_dir): argument
/unit/test/unit/applications/lang/
H A Dgo.py17 temp_dir = f'{option.temp_dir}/go/'
19 if not os.path.exists(temp_dir):
20 os.mkdir(temp_dir)
31 shutil.copy2(f'{option.test_dir}/go/{script}/{name}.go', temp_dir)
69 args, env=env, cwd=temp_dir, stderr=subprocess.STDOUT
/unit/test/unit/check/
H A Dchroot.py22 "share": option.temp_dir,
23 "chroot": option.temp_dir,
/unit/test/python/unicode/
H A Dwsgi.py2 temp_dir = environ.get('HTTP_TEMP_DIR')

12