Home
last modified time | relevance | path

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

1234

/unit/test/
H A Dtest_configuration.py12 return self.conf(
27 assert 'success' in self.conf(
51 assert 'success' in self.conf(
66 assert 'success' in self.conf(
152 assert 'error' in self.conf(
157 assert 'error' in self.conf(
260 self.conf(
302 conf = {
319 assert 'success' in self.conf(conf)
322 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_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(
291 assert 'success' in self.conf(
305 assert 'error' in self.conf(
313 assert 'success' in self.conf(
327 assert 'success' in self.conf(
341 assert 'success' in self.conf(
347 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.py56 assert 'success' in self.conf(
63 assert 'success' in self.conf(
69 assert 'success' in self.conf(
277 assert 'success' in self.conf(
301 assert 'success' in self.conf(
310 assert 'success' in self.conf(
348 assert 'success' in self.conf(
358 assert 'success' in self.conf(
367 assert 'error' in self.conf(
371 assert 'error' in self.conf(
[all …]
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_proxy.py66 assert 'success' in self.conf(
106 assert 'success' in self.conf(
173 assert 'success' in self.conf(
206 assert 'success' in self.conf(
326 assert 'success' in self.conf(
333 assert 'success' in self.conf(
341 assert 'success' in self.conf(
350 assert 'success' in self.conf(
358 assert 'success' in self.conf(
365 assert 'success' in self.conf(
[all …]
H A Dtest_python_procman.py32 def conf_proc(self, conf, path=None): argument
36 assert 'success' in self.conf(conf, path), 'configure processes'
185 assert 'error' in self.conf(
188 assert 'error' in self.conf({"max": -1}, self.app_proc), 'negative max'
189 assert 'error' in self.conf(
192 assert 'error' in self.conf(
195 assert 'error' in self.conf(
198 assert 'error' in self.conf(
203 assert 'success' in self.conf({"listeners": {}, "applications": {}})
/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): member in TestControl
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.c40 nxt_http_return_conf_t *conf; in nxt_http_return_init() local
45 if (nxt_slow_path(conf == NULL)) { in nxt_http_return_init()
50 action->u.conf = conf; in nxt_http_return_init()
66 nxt_var_raw(conf->location, &str); in nxt_http_return_init()
80 nxt_http_return_conf_t *conf; in nxt_http_return() local
82 conf = action->u.conf; in nxt_http_return()
87 if (conf->location == NULL) { in nxt_http_return()
91 nxt_var_raw(conf->location, &loc); in nxt_http_return()
104 if (conf->location == NULL) { in nxt_http_return()
114 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.c83 nxt_http_static_conf_t *conf; in nxt_http_static_init() local
94 action->u.conf = conf; in nxt_http_static_init()
112 conf->shares[i].var = var; in nxt_http_static_init()
235 conf = ctx->action->u.conf; in nxt_http_static_iterate()
244 idx = conf->index; in nxt_http_static_iterate()
249 if (conf->chroot != NULL) { in nxt_http_static_iterate()
315 nxt_http_static_conf_t *conf; in nxt_http_static_send_ready() local
320 conf = action->u.conf; in nxt_http_static_send_ready()
327 index = &conf->index; in nxt_http_static_send_ready()
379 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()
H A Dnxt_openssl.c29 nxt_tls_conf_t *conf; member
309 conf = tls_init->conf; in nxt_openssl_server_init()
311 bundle = conf->bundle; in nxt_openssl_server_init()
364 ciphers = (conf->ciphers != NULL) ? conf->ciphers : "HIGH:!aNULL:!MD5"; in nxt_openssl_server_init()
468 bundle = conf->bundle;
861 bundle = conf->bundle;
1076 conf = tls->conf;
1140 bundle = conf->bundle;
1148 if (conf->tickets) {
1178 ctx = conf->bundle->ctx;
[all …]
/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