mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-02 06:45:45 +00:00
chore(ci): ♻️ convert Python old %
string to f-strings
This commit is contained in:
committed by
Nicolas Duchon
parent
eba9ac4261
commit
37e85e6e8d
@ -39,4 +39,4 @@ def test_forwards_to_whoami(nginx_tmpl, docker_compose, nginxproxy):
|
||||
r = nginxproxy.get("http://whoami.nginx.container.docker/")
|
||||
assert r.status_code == 200
|
||||
whoami_container = docker_compose.containers.get("whoami")
|
||||
assert r.text == "I'm %s\n" % whoami_container.id[:12]
|
||||
assert r.text == f"I'm {whoami_container.id[:12]}\n"
|
||||
|
Reference in New Issue
Block a user