From 1e1d7d7f14b9bb7f435ad7a9e92acb4558f02e5d Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 13 Jul 2022 21:18:03 +0200 Subject: [PATCH] tests - replace variable typo in get request --- tests/Test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Test.py b/tests/Test.py index 4e9c38ee3..a7e919739 100644 --- a/tests/Test.py +++ b/tests/Test.py @@ -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)