mirror of https://github.com/ARMmbed/mbed-os.git
Mock the function I just added in testing
parent
3123a1d394
commit
7b04a52a46
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue