From 074809da0fe1eb3115f6f1b2d733be6b1b0c6920 Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Fri, 14 Aug 2015 14:41:52 +0100 Subject: [PATCH] fixed typo capabilitity -> capability --- .../host_tests/host_tests_plugins/module_copy_mbed.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace_tools/host_tests/host_tests_plugins/module_copy_mbed.py b/workspace_tools/host_tests/host_tests_plugins/module_copy_mbed.py index 14e88188bc..2b9527e95f 100644 --- a/workspace_tools/host_tests/host_tests_plugins/module_copy_mbed.py +++ b/workspace_tools/host_tests/host_tests_plugins/module_copy_mbed.py @@ -49,13 +49,13 @@ class HostTestPluginCopyMethod_Mbed(HostTestPluginBase): """ return True - def execute(self, capabilitity, *args, **kwargs): + def execute(self, capability, *args, **kwargs): """ Executes capability by name. Each capability may directly just call some command line program or execute building pythonic function """ result = False - if self.check_parameters(capabilitity, *args, **kwargs) is True: + if self.check_parameters(capability, *args, **kwargs) is True: # Capability 'default' is a dummy capability if capability == 'shutil': image_path = kwargs['image_path']