def lib_reg_open_all_test(): lr = LibRegistry() all_names = lr.get_all_names() for name in all_names: lr.open_lib(name) lr.close_lib(name)
def lib_reg_get_all_names_test(): lr = LibRegistry() all_cls = lr.get_all_names() assert 'dos.library' in all_cls assert 'exec.library' in all_cls