diff options
author | Wojciech Wypior <w.wypior@f5.com> | 2019-08-02 13:29:40 -0700 |
---|---|---|
committer | Tim Rupp <caphrim007@gmail.com> | 2019-08-02 13:29:40 -0700 |
commit | c9a9621a022fb6af476a3a4e3353f188c367e047 (patch) | |
tree | 376cecd3c41049759485af2a5c3c103f32665b75 /test/units/modules/network/f5/test_bigip_monitor_https.py | |
parent | 6e8798fa8853629ee274fa15d957a71909fbf57f (diff) | |
download | ansible-c9a9621a022fb6af476a3a4e3353f188c367e047.tar.gz |
fixes issue with recieve parameter idempotency (#59999)
fixes assert statements in unit tests
Diffstat (limited to 'test/units/modules/network/f5/test_bigip_monitor_https.py')
-rw-r--r-- | test/units/modules/network/f5/test_bigip_monitor_https.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/modules/network/f5/test_bigip_monitor_https.py b/test/units/modules/network/f5/test_bigip_monitor_https.py index 6e21ad11ca..700806f803 100644 --- a/test/units/modules/network/f5/test_bigip_monitor_https.py +++ b/test/units/modules/network/f5/test_bigip_monitor_https.py @@ -305,7 +305,7 @@ class TestManager(unittest.TestCase): with pytest.raises(F5ModuleError) as ex: 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): set_module_args(dict( @@ -335,7 +335,7 @@ class TestManager(unittest.TestCase): with pytest.raises(F5ModuleError) as ex: mm.exec_module() - assert "must be less than" in str(ex) + assert "must be less than" in str(ex.value) def test_update_send(self, *args): set_module_args(dict( |