Merge pull request #4451 from theotherjimmy/fix-test-typo

Fix typo in test code
pull/4480/head
Sam Grove 2017-06-06 16:00:25 -05:00 committed by GitHub
commit 6b1f64fc86
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ def test_toolchain_profile_c(profile, source_file):
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile)
toolchain.inc_md5 = ""
toolchain.build_dir = ""
toolchain.config = MagicMock(app_config_locaiton=None)
toolchain.config = MagicMock(app_config_location=None)
compile_command = toolchain.compile_command(to_compile,
to_compile + ".o", [])
for parameter in profile['c'] + profile['common']:
@ -68,7 +68,7 @@ def test_toolchain_profile_cpp(profile, source_file):
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile)
toolchain.inc_md5 = ""
toolchain.build_dir = ""
toolchain.config = MagicMock(app_config_locaiton=None)
toolchain.config = MagicMock(app_config_location=None)
compile_command = toolchain.compile_command(to_compile,
to_compile + ".o", [])
for parameter in profile['cxx'] + profile['common']: