Correct MockNotifier construction in test

pull/7558/head
Jimmy Brisson 2018-07-20 11:43:56 -05:00
parent 3f684113b0
commit 24df8f89bf
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ def test_toolchain_profile_asm(profile, source_file):
with patch('os.mkdir') as _mkdir:
for _, tc_class in TOOLCHAIN_CLASSES.items():
toolchain = tc_class(TARGET_MAP["K64F"], build_profile=profile,
notify=MockNotifier)
notify=MockNotifier())
toolchain.inc_md5 = ""
toolchain.build_dir = ""
for parameter in profile['asm']: