mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-02 23:05:46 +00:00
chore(ci): ⬆️ porting python 2.7 code to python 3.9
This commit is contained in:
committed by
Nicolas Duchon
parent
fe79dd4cd3
commit
950a28f5ea
@ -22,7 +22,7 @@ def assert_log_contains(expected_log_line):
|
||||
"""
|
||||
sut_container = docker_client.containers.get("nginxproxy")
|
||||
docker_logs = sut_container.logs(stdout=True, stderr=True, stream=False, follow=False)
|
||||
assert expected_log_line in docker_logs
|
||||
assert bytes(expected_log_line, encoding="utf8") in docker_logs
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
Reference in New Issue
Block a user