aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/addons/test_addons.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/addons/test_addons.py b/tests/addons/test_addons.py
index 47503a6c..c02214f7 100644
--- a/tests/addons/test_addons.py
+++ b/tests/addons/test_addons.py
@@ -387,10 +387,12 @@ class TestNetAddon:
addon = addons.NetAddon(options)
assert isinstance(addon.session, requests.Session)
assert addon.session.timeout == 10
+ assert addon.timeout == 10
# a timeout of zero disables timeouts entirely
options, _ = tool.parse_args(["scan", "--timeout", "0"])
addon = addons.NetAddon(options)
assert addon.session.timeout is None
+ assert addon.timeout is None
def test_args(self, tool):
options, _ = tool.parse_args(