summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/proto.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2019-04-26 17:35:26 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2019-04-26 17:35:26 +0300
commit644e6df687425f6eb23a79425a769e1ce5f5437b (patch)
tree47ae341a214f5e7059dfa33c614ec96c5d3496dc /test/unit/applications/proto.py
parent6a6bc63c48501027f01d16fbd211eb4425c1a1e8 (diff)
downloadunit-644e6df687425f6eb23a79425a769e1ce5f5437b.tar.gz
unit-644e6df687425f6eb23a79425a769e1ce5f5437b.tar.bz2
Tests: check application configuration loading.
Diffstat (limited to '')
-rw-r--r--test/unit/applications/proto.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/applications/proto.py b/test/unit/applications/proto.py
index 2b865695..4105473f 100644
--- a/test/unit/applications/proto.py
+++ b/test/unit/applications/proto.py
@@ -24,3 +24,8 @@ class TestApplicationProto(TestControl):
time.sleep(0.1)
return found
+
+ def _load_conf(self, conf):
+ self.assertIn(
+ 'success', self.conf(conf), 'load application configuration'
+ )