|
|
@ -246,7 +246,7 @@ class TestManagerEcho(unittest.TestCase):
|
|
|
|
with pytest.raises(F5ModuleError) as ex:
|
|
|
|
with pytest.raises(F5ModuleError) as ex:
|
|
|
|
mm.exec_module()
|
|
|
|
mm.exec_module()
|
|
|
|
|
|
|
|
|
|
|
|
assert "must be less than" in str(ex)
|
|
|
|
assert "must be less than" in str(ex.value)
|
|
|
|
|
|
|
|
|
|
|
|
def test_update_interval_larger_than_new_timeout(self, *args):
|
|
|
|
def test_update_interval_larger_than_new_timeout(self, *args):
|
|
|
|
set_module_args(dict(
|
|
|
|
set_module_args(dict(
|
|
|
@ -275,7 +275,7 @@ class TestManagerEcho(unittest.TestCase):
|
|
|
|
with pytest.raises(F5ModuleError) as ex:
|
|
|
|
with pytest.raises(F5ModuleError) as ex:
|
|
|
|
mm.exec_module()
|
|
|
|
mm.exec_module()
|
|
|
|
|
|
|
|
|
|
|
|
assert "must be less than" in str(ex)
|
|
|
|
assert "must be less than" in str(ex.value)
|
|
|
|
|
|
|
|
|
|
|
|
def test_update_timeout(self, *args):
|
|
|
|
def test_update_timeout(self, *args):
|
|
|
|
set_module_args(dict(
|
|
|
|
set_module_args(dict(
|
|
|
|