diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2021-01-14 03:04:20 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2021-01-14 03:04:20 +0000 |
commit | d43a84139d1adedbae8def67c8bbee09d8cf4581 (patch) | |
tree | 4e1b9ae1c6915e38fe0bf2de3d224cb9d1eb6c9b /test/test_python_application.py | |
parent | 5d983ea762eba5fe26a07defbc09eeec8ecc5aeb (diff) | |
download | unit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.gz unit-d43a84139d1adedbae8def67c8bbee09d8cf4581.tar.bz2 |
Tests: added missing checks for configuration results.
Diffstat (limited to 'test/test_python_application.py')
-rw-r--r-- | test/test_python_application.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_python_application.py b/test/test_python_application.py index 5aa60712..5ad0901d 100644 --- a/test/test_python_application.py +++ b/test/test_python_application.py @@ -153,7 +153,7 @@ custom-header: BLAH assert resp['status'] == 200, 'ctx iter status' assert resp['body'] == '0123456789', 'ctx iter body' - self.conf({"listeners": {}, "applications": {}}) + assert 'success' in self.conf({"listeners": {}, "applications": {}}) assert ( self.wait_for_record(r'RuntimeError') is not None @@ -331,7 +331,7 @@ Connection: close self.get() - self.conf({"listeners": {}, "applications": {}}) + assert 'success' in self.conf({"listeners": {}, "applications": {}}) assert self.wait_for_record(r'At exit called\.') is not None, 'atexit' |