mirror of https://github.com/ARMmbed/mbed-os.git
fixed typo capabilitity -> capability
parent
598654fa4d
commit
074809da0f
|
|
@ -49,13 +49,13 @@ class HostTestPluginCopyMethod_Mbed(HostTestPluginBase):
|
||||||
"""
|
"""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def execute(self, capabilitity, *args, **kwargs):
|
def execute(self, capability, *args, **kwargs):
|
||||||
""" Executes capability by name.
|
""" Executes capability by name.
|
||||||
Each capability may directly just call some command line
|
Each capability may directly just call some command line
|
||||||
program or execute building pythonic function
|
program or execute building pythonic function
|
||||||
"""
|
"""
|
||||||
result = False
|
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
|
# Capability 'default' is a dummy capability
|
||||||
if capability == 'shutil':
|
if capability == 'shutil':
|
||||||
image_path = kwargs['image_path']
|
image_path = kwargs['image_path']
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue