Mock the function I just added in testing

pull/4331/head
Jimmy Brisson 2017-05-17 13:34:47 -05:00
parent 3123a1d394
commit 7b04a52a46
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class BuildApiTests(unittest.TestCase):
side_effect=[i % 2 for i in range(3000)])
@patch('os.mkdir')
@patch('tools.toolchains.exists', return_value=True)
@patch('tools.toolchains.mbedToolchain.dump_build_profile')
@patch('tools.utils.run_cmd', return_value=("", "", 0))
def test_always_complete_build(self, *_):
with MagicMock() as notify: