Skip to content

Commit bb79f69

Browse files
committed
Minor copy edits, added comment
1 parent a047f62 commit bb79f69

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/test/detect_targets_test.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222

2323
class MbedLsToolsMock():
24+
"""
25+
Mock of mbedls tools
26+
"""
2427

2528
def __init__(self, type):
2629
self.interface_test_type = type
@@ -144,11 +147,12 @@ def test_version_none(self, mbed_lstools_mock):
144147
@patch("mbed_lstools.create", return_value=MbedLsToolsMock('details_invalid_none'))
145148
def test_interface_version_missing_mount_point(self, mbed_lstools_mock):
146149
"""
147-
Test that checks function returns correctly when no moint point is supplied.
150+
Test that checks function returns correctly when no mount point is supplied.
148151
149152
:param mbed_lstools_mock: Mocks Mbed LS tools with MbedLsToolsMock
150153
:return
151154
"""
155+
152156
interface_version = get_interface_version(self.missing_mount_point)
153157
assert interface_version == 'unknown'
154158

0 commit comments

Comments
 (0)