Changed concatenation of strings to f-strings

This commit is contained in:
eukub 2023-11-15 20:49:08 +03:00
parent 9a12f34bbe
commit d8b82c0268
2 changed files with 2 additions and 2 deletions

View file

@ -966,7 +966,7 @@ def test_nesting_subdomains(app, client) -> None:
domain_name = "domain.tld"
app.config["SERVER_NAME"] = domain_name
response = client.get("/child/", base_url="http://api." + domain_name)
response = client.get("/child/", base_url=f"http://api.{domain_name}")
assert response.status_code == 200