Fixes #28779 eth_mode key error (#28782)

* Fixes #28779 eth_mode key error

* Remove unused get_config references

* Addressed PR comment
This commit is contained in:
Mike Wiebe 2017-08-29 17:07:46 -04:00 committed by Nathaniel Case
commit d9fc3def94
2 changed files with 2 additions and 8 deletions

View file

@ -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