mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
* Fixes #28779 eth_mode key error * Remove unused get_config references * Addressed PR comment
This commit is contained in:
parent
e9dd4717e5
commit
d9fc3def94
2 changed files with 2 additions and 8 deletions
|
@ -37,13 +37,9 @@ class TestNxosInterfaceModule(TestNxosModule):
|
|||
self.mock_load_config = patch('ansible.modules.network.nxos.nxos_interface.load_config')
|
||||
self.load_config = self.mock_load_config.start()
|
||||
|
||||
self.mock_get_config = patch('ansible.modules.network.nxos.nxos_interface.get_config')
|
||||
self.get_config = self.mock_get_config.start()
|
||||
|
||||
def tearDown(self):
|
||||
self.mock_run_commands.stop()
|
||||
self.mock_load_config.stop()
|
||||
self.mock_get_config.stop()
|
||||
|
||||
def load_fixtures(self, commands=None, device=''):
|
||||
self.load_config.return_value = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue