Test multiple nxos versions at once (#25595)

* Extend tests to have multiple device representations

* Move filepath munging to nxos_module

* Device needs to be kwarg so we can leave it off

* Update other nxos tests

* Update tests that fell through
This commit is contained in:
Nathaniel Case
2017-06-27 12:45:36 -04:00
committed by GitHub
parent 79b2897462
commit 3d6d428bbc
30 changed files with 86 additions and 72 deletions

View File

@@ -45,7 +45,7 @@ class TestNxosInterfaceModule(TestNxosModule):
self.mock_load_config.stop()
self.mock_get_config.stop()
def load_fixtures(self, commands=None):
def load_fixtures(self, commands=None, device=''):
self.load_config.return_value = None
def test_nxos_interface_up(self):