mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
tests - replace variable typo in get request
This commit is contained in:
parent
ebc94f515e
commit
1e1d7d7f14
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Test(ABC) :
|
|||
for ex_domain, test_domain in self._domains.items() :
|
||||
if match(ex_domain, ex_url) :
|
||||
ex_url = sub(ex_domain, test_domain, ex_url)
|
||||
r = get(test["url"], timeout=5)
|
||||
r = get(ex_url, timeout=5)
|
||||
return test["string"] in r.text
|
||||
except :
|
||||
self._log("exception while running test of type " + test["type"] + " on URL " + test["url"] + "\n" + format_exc(), error=True)
|
||||
|
|
Loading…
Reference in a new issue