assert after logs output

This commit is contained in:
Ayaz Salikhov
2021-06-27 14:16:48 +03:00
committed by GitHub
parent 9aafae7bee
commit 52a91a3e76

View File

@@ -30,6 +30,6 @@ def test_units(container):
command=['start.sh', 'python', f'{cont_data_dir}/{test_file}']
)
rv = c.wait(timeout=30)
assert rv == 0 or rv["StatusCode"] == 0
logs = c.logs(stdout=True).decode('utf-8')
LOGGER.debug(logs)
assert rv == 0 or rv["StatusCode"] == 0