Tests: added missing checks for configuration results.

This commit is contained in:
Andrei Zeliankou
2021-01-14 03:04:20 +00:00
parent 5d983ea762
commit d43a84139d
11 changed files with 72 additions and 56 deletions

View File

@@ -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'