Skip to content

Commit 6b1f64f

Browse files
authored
Merge pull request #4451 from theotherjimmy/fix-test-typo
Fix typo in test code
2 parents e9e937d + ad5608c commit 6b1f64f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test/toolchains/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_toolchain_profile_c(profile, source_file):
4242
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile)
4343
toolchain.inc_md5 = ""
4444
toolchain.build_dir = ""
45-
toolchain.config = MagicMock(app_config_locaiton=None)
45+
toolchain.config = MagicMock(app_config_location=None)
4646
compile_command = toolchain.compile_command(to_compile,
4747
to_compile + ".o", [])
4848
for parameter in profile['c'] + profile['common']:
@@ -68,7 +68,7 @@ def test_toolchain_profile_cpp(profile, source_file):
6868
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile)
6969
toolchain.inc_md5 = ""
7070
toolchain.build_dir = ""
71-
toolchain.config = MagicMock(app_config_locaiton=None)
71+
toolchain.config = MagicMock(app_config_location=None)
7272
compile_command = toolchain.compile_command(to_compile,
7373
to_compile + ".o", [])
7474
for parameter in profile['cxx'] + profile['common']:

0 commit comments

Comments
 (0)