def tearDown(self): log("Clear FM") fm.clear() if os.path.exists(FILE_PATH): log("Removing favorites file '%s'" % FILE_PATH) os.remove(FILE_PATH)