File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 20
20
21
21
import threading
22
22
from builtins import super
23
+ from copy import copy
23
24
from mbed_os_tools .test import init_host_test_cli_params
24
25
from mbed_os_tools .test .host_tests_runner .host_test_default import DefaultTestSelector
25
26
from mock import patch , MagicMock
@@ -311,6 +312,9 @@ def test_host_test_darwin(self):
311
312
self .assertEqual (result , 0 )
312
313
313
314
def test_host_test_windows (self ):
315
+ win_mock_platform_info = copy (mock_platform_info )
316
+ win_mock_platform_info ["mount_point" ] = "D:"
317
+ win_mock_platform_info ["serial_port" ] = "COM5"
314
318
with MockTestEnvironmentWindows (self , mock_platform_info , mock_image_path ) as _env :
315
319
test_selector = DefaultTestSelector (init_host_test_cli_params ())
316
320
result = test_selector .execute ()
You can’t perform that action at this time.
0 commit comments