mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
* Fixes #28779 eth_mode key error * Remove unused get_config references * Addressed PR comment
This commit is contained in:
committed by
Nathaniel Case
parent
e9dd4717e5
commit
d9fc3def94
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user