diff options
Diffstat (limited to 'test/units/modules/network/nxos/test_nxos_system.py')
-rw-r--r-- | test/units/modules/network/nxos/test_nxos_system.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/units/modules/network/nxos/test_nxos_system.py b/test/units/modules/network/nxos/test_nxos_system.py index 18e2042b3c..44a1b20f50 100644 --- a/test/units/modules/network/nxos/test_nxos_system.py +++ b/test/units/modules/network/nxos/test_nxos_system.py @@ -19,7 +19,6 @@ # Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type -import json from ansible.compat.tests.mock import patch from ansible.modules.network.nxos import nxos_system @@ -31,6 +30,8 @@ class TestNxosSystemModule(TestNxosModule): module = nxos_system def setUp(self): + super(TestNxosSystemModule, self).setUp() + self.mock_get_config = patch('ansible.modules.network.nxos.nxos_system.get_config') self.get_config = self.mock_get_config.start() @@ -38,6 +39,7 @@ class TestNxosSystemModule(TestNxosModule): self.load_config = self.mock_load_config.start() def tearDown(self): + super(TestNxosSystemModule, self).tearDown() self.mock_get_config.stop() self.mock_load_config.stop() |