Home
last modified time | relevance | path

Searched refs:conf (Results 1 – 25 of 89) sorted by relevance

1234

/unit/test/
H A Dtest_configuration.py11 return self.conf(
26 assert 'success' in self.conf(
50 assert 'success' in self.conf(
65 assert 'success' in self.conf(
151 assert 'error' in self.conf(
156 assert 'error' in self.conf(
250 self.conf(
292 conf = {
309 assert 'success' in self.conf(conf)
312 conf = {
[all …]
H A Dtest_php_basic.py24 conf = self.conf_get()
26 assert conf['listeners'] == {}, 'listeners'
27 assert conf['applications'] == {
58 assert 'success' in self.conf(self.conf_basic)
73 assert 'success' in self.conf(self.conf_basic)
74 assert 'success' in self.conf(
83 assert 'success' in self.conf(self.conf_basic)
84 assert 'success' in self.conf(
94 assert 'success' in self.conf(self.conf_basic)
107 assert 'success' in self.conf(self.conf_basic)
[all …]
H A Dtest_python_basic.py27 self.conf(self.conf_app, 'applications')
29 conf = self.conf_get()
31 assert conf['listeners'] == {}, 'listeners'
32 assert conf['applications'] == {
61 assert 'success' in self.conf(self.conf_basic)
76 assert 'success' in self.conf(self.conf_basic)
77 assert 'success' in self.conf(
86 assert 'success' in self.conf(self.conf_basic)
87 assert 'success' in self.conf(
97 assert 'success' in self.conf(self.conf_basic)
[all …]
H A Dtest_python_environment.py10 assert 'error' in self.conf(
17 assert 'error' in self.conf(
24 assert 'error' in self.conf(
31 self.conf({"var": "val1"}, 'applications/environment/environment')
44 self.conf({"var": "val2"}, 'applications/environment/environment')
60 self.conf({"var1": "val1"}, 'applications/environment/environment')
73 self.conf({"var2": "val2"}, 'applications/environment/environment')
89 self.conf(
105 self.conf({}, 'applications/environment/environment')
131 self.conf({"HOME": "/"}, 'applications/environment/environment')
[all …]
H A Dtest_return.py61 assert 'success' in self.conf('0', 'routes/0/action/return')
98 assert 'success' in self.conf(
144 assert 'success' in self.conf(
154 assert 'success' in self.conf(
164 assert 'success' in self.conf(
169 assert 'success' in self.conf(
181 assert 'success' in self.conf(
186 assert 'success' in self.conf(
197 def check_error(conf): argument
198 assert 'error' in self.conf(conf, 'routes/0/action')
[all …]
H A Dtest_static_chroot.py28 return self.conf(
42 assert 'success' in self.conf(
55 assert 'success' in self.conf(
69 assert 'success' in self.conf(
84 assert 'success' in self.conf(
95 assert 'success' in self.conf(
104 assert 'success' in self.conf(
117 assert 'success' in self.conf(
214 assert 'error' in self.conf(
218 assert 'error' in self.conf(
[all …]
H A Dtest_php_targets.py9 assert 'success' in self.conf(
51 assert 'success' in self.conf(
62 assert 'success' in self.conf(
83 assert 'error' in self.conf(
86 assert 'error' in self.conf(
90 assert 'error' in self.conf(
93 assert 'error' in self.conf(
H A Dtest_upstreams_rr.py12 assert 'success' in self.conf(
99 assert 'success' in self.conf(
107 assert 'success' in self.conf(
121 assert 'success' in self.conf(
136 assert 'success' in self.conf(
144 assert 'success' in self.conf(
194 assert 'success' in self.conf(
223 assert 'success' in self.conf(
456 assert 'error' in self.conf(
459 assert 'error' in self.conf(
[all …]
H A Dtest_static_share.py19 assert 'success' in self.conf(
27 def action_update(self, conf): argument
28 assert 'success' in self.conf(conf, 'routes/0/action')
71 assert 'error' in self.conf({"share": []}, 'routes/0/action')
72 assert 'error' in self.conf({"share": {}}, 'routes/0/action')
H A Dtest_settings.py36 assert 'success' in self.conf(
41 assert 'success' in self.conf(
49 assert 'success' in self.conf(
120 assert 'success' in self.conf(
125 assert 'success' in self.conf(
133 assert 'success' in self.conf(
206 assert 'success' in self.conf(
265 assert 'success' in self.conf(
275 assert 'success' in self.conf(
301 assert 'error' in self.conf(
[all …]
H A Dtest_php_application.py33 assert 'success' in self.conf(
55 assert 'success' in self.conf(
126 assert 'success' in self.conf(
142 assert 'success' in self.conf(
300 assert 'success' in self.conf(
314 assert 'error' in self.conf(
322 assert 'success' in self.conf(
336 assert 'success' in self.conf(
350 assert 'success' in self.conf(
356 assert 'success' in self.conf(
[all …]
H A Dtest_static_fallback.py37 def action_update(self, conf): argument
38 assert 'success' in self.conf(conf, 'routes/0/action')
104 assert 'success' in self.conf(
142 def check_error(conf): argument
143 assert 'error' in self.conf(conf, 'routes/0/action')
H A Dtest_php_isolation.py36 assert 'success' in self.conf(
39 assert 'success' in self.conf(
72 assert 'success' in self.conf(
76 assert 'success' in self.conf(
81 assert 'success' in self.conf(
H A Dtest_static_mount.py69 assert 'success' in self.conf(
76 assert 'success' in self.conf(
90 assert 'success' in self.conf(
116 assert 'success' in self.conf(
126 assert 'success' in self.conf(
H A Dtest_variables.py8 assert 'success' in self.conf(
25 assert 'success' in self.conf(routes, 'listeners/*:7080/pass')
89 assert 'success' in self.conf(
105 assert 'success' in self.conf(
120 assert 'error' in self.conf(
H A Dtest_static.py56 assert 'success' in self.conf(
63 assert 'success' in self.conf(
69 assert 'success' in self.conf(
249 assert 'success' in self.conf(
273 assert 'success' in self.conf(
282 assert 'success' in self.conf(
320 assert 'success' in self.conf(
330 assert 'success' in self.conf(
339 assert 'error' in self.conf(
343 assert 'error' in self.conf(
[all …]
H A Dtest_routing.py11 assert 'success' in self.conf(
25 return self.conf([route], 'routes')
352 assert 'error' in self.conf(
384 assert 'error' in self.conf(
427 assert 'error' in self.conf(
459 assert 'error' in self.conf(
462 assert 'error' in self.conf(
465 assert 'error' in self.conf(
468 assert 'error' in self.conf(
491 assert 'error' in self.conf(
[all …]
/unit/test/unit/
H A Dcontrol.py11 conf = None
17 conf = args[0]
19 if isinstance(conf, dict) or isinstance(conf, list):
20 conf = json.dumps(conf)
25 arguments = (self, url) if conf is None else (self, conf, url)
34 def conf(self, conf, url): argument
35 return self.put(**self._get_args(url, conf))['body']
46 def conf_post(self, conf, url): argument
49 def _get_args(self, url, conf=None): argument
56 if conf is not None:
[all …]
/unit/src/
H A Dnxt_http_return.c39 nxt_http_return_conf_t *conf; in nxt_http_return_init() local
42 if (nxt_slow_path(conf == NULL)) { in nxt_http_return_init()
47 action->u.conf = conf; in nxt_http_return_init()
63 nxt_var_raw(conf->location, &str); in nxt_http_return_init()
77 nxt_http_return_conf_t *conf; in nxt_http_return() local
79 conf = action->u.conf; in nxt_http_return()
84 if (conf->location == NULL) { in nxt_http_return()
88 nxt_var_raw(conf->location, &loc); in nxt_http_return()
101 if (conf->location == NULL) { in nxt_http_return()
111 r->status = conf->status; in nxt_http_return()
[all …]
H A Dnxt_polarssl.c21 static nxt_int_t nxt_polarssl_server_init(nxt_ssltls_conf_t *conf);
22 static void nxt_polarssl_conn_init(nxt_thread_t *thr, nxt_ssltls_conf_t *conf,
35 nxt_polarssl_server_init(nxt_ssltls_conf_t *conf) in nxt_polarssl_server_init() argument
58 conf->ctx = ctx; in nxt_polarssl_server_init()
59 conf->conn_init = nxt_polarssl_conn_init; in nxt_polarssl_server_init()
61 n = x509parse_crtfile(&ctx->certificate, conf->certificate); in nxt_polarssl_server_init()
65 &conf->certificate); in nxt_polarssl_server_init()
71 n = x509parse_keyfile(&ctx->key, conf->certificate_key, NULL); in nxt_polarssl_server_init()
75 &conf->certificate_key); in nxt_polarssl_server_init()
94 nxt_polarssl_conn_init(nxt_thread_t *thr, nxt_ssltls_conf_t *conf, in nxt_polarssl_conn_init() argument
H A Dnxt_http_static.c81 nxt_http_static_conf_t *conf; in nxt_http_static_init() local
91 action->u.conf = conf; in nxt_http_static_init()
109 conf->shares[i].var = var; in nxt_http_static_init()
216 nxt_http_static_conf_t *conf; in nxt_http_static_iterate() local
219 conf = ctx->action->u.conf; in nxt_http_static_iterate()
231 if (conf->chroot != NULL) { in nxt_http_static_iterate()
296 nxt_http_static_conf_t *conf; in nxt_http_static_send_ready() local
303 conf = action->u.conf; in nxt_http_static_send_ready()
328 if (conf->types == NULL) { in nxt_http_static_send_ready()
362 resolve = conf->resolve; in nxt_http_static_send_ready()
[all …]
H A Dnxt_external.c73 nxt_common_app_conf_t *conf; in nxt_external_start() local
77 conf = data->app; in nxt_external_start()
109 rc = nxt_external_fd_no_cloexec(task, conf->shared_port_fd); in nxt_external_start()
114 rc = nxt_external_fd_no_cloexec(task, conf->shared_queue_fd); in nxt_external_start()
133 conf->shared_port_fd, conf->shared_queue_fd, in nxt_external_start()
134 2, conf->shm_limit, conf->request_limit); in nxt_external_start()
152 c = &conf->u.external; in nxt_external_start()
/unit/test/unit/check/
H A Disolation.py20 conf = ''
24 conf = {
38 conf = {
53 conf = {
70 conf = {
86 conf = {
103 conf = {
117 conf = {
137 body=json.dumps(conf),
/unit/test/unit/applications/
H A Dproto.py46 def _load_conf(self, conf, **kwargs): argument
47 if 'applications' in conf:
48 for app in conf['applications'].keys():
49 app_conf = conf['applications'][app]
61 assert 'success' in self.conf(conf), 'load application configuration'
/unit/docs/
H A Dchanges.xsls11 X:var conf = "document($configuration)/configuration";
16 !{$conf/rpm/start}
19 !{$conf/deb/start}
22 !{$conf/generic/start}
30 !{$conf/rpm/indent}
33 !{$conf/deb/indent}
36 !{$conf/generic/indent}
44 !{$conf/rpm/length}
47 !{$conf/deb/length}
50 !{$conf/generic/length}
[all …]

1234