diff options
Diffstat (limited to 'tests/test_discovery.py')
-rw-r--r-- | tests/test_discovery.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_discovery.py b/tests/test_discovery.py index a211167..122d8a1 100644 --- a/tests/test_discovery.py +++ b/tests/test_discovery.py @@ -21,8 +21,8 @@ from testrunner import PluginsTestCase as TestCaseBase class TestDiscovery(TestCaseBase): - def _mockExcecNRPECommand(self, host, command, arguments=None, - jsonOutput=True): + def _mockExecNRPECommand(self, host, command, arguments=None, + jsonOutput=True): if command == "discover_volume_list": return self._getVolumeNames() elif command == "discover_volume_info": @@ -93,7 +93,7 @@ class TestDiscovery(TestCaseBase): # Method to test the discoverCluster() method def testDiscoverCluster(self): - discovery.excecNRPECommand = self._mockExcecNRPECommand + discovery.execNRPECommand = self._mockExecNRPECommand clusterName = "test-cluster" host = "172.16.53.1" clusterdata = discovery.discoverCluster(host, clusterName) |