def test_resolve_libraries(self, mock_lib_refs):
        program = MbedProgram(None, MbedProgramFiles(None, pathlib.Path(), None), MbedOS(pathlib.Path(), None))
        program.resolve_libraries()

        program.lib_references.resolve.assert_called_once()
Exemple #2
0
    def test_resolve_libraries_delegation(self, mbed_os, mbed_program_files, mock_lib_refs):
        program = MbedProgram(mbed_program_files(), mbed_os())
        program.resolve_libraries()

        program.lib_references.resolve.assert_called_once()