diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-26 17:35:26 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2019-04-26 17:35:26 +0300 |
commit | 644e6df687425f6eb23a79425a769e1ce5f5437b (patch) | |
tree | 47ae341a214f5e7059dfa33c614ec96c5d3496dc /test/unit/applications/proto.py | |
parent | 6a6bc63c48501027f01d16fbd211eb4425c1a1e8 (diff) | |
download | unit-644e6df687425f6eb23a79425a769e1ce5f5437b.tar.gz unit-644e6df687425f6eb23a79425a769e1ce5f5437b.tar.bz2 |
Tests: check application configuration loading.
Diffstat (limited to 'test/unit/applications/proto.py')
-rw-r--r-- | test/unit/applications/proto.py | 5 |
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' + ) |