def initFiles(verify=True): global isInitFiles if isInitFiles: return isInitFiles = True Nsps.load(verify=verify)
def initFiles(): global isInitFiles if isInitFiles: return isInitFiles = True Nsps.load()
def test_load_with_empty_filesize_in_files_json(self): _title_id = '0000000000000000' _nsp_hbl_name = f"hbl [{_title_id}].nsp" self.__prepare_hbl_title_fixture(_nsp_hbl_name) Nsps.load() _nsp = Nsps.get(os.path.sep + _nsp_hbl_name) self.assertIsNotNone(_nsp) self.assertGreater(_nsp.fileSize, 0) self.assertEqual(_nsp.titleId, _title_id)
def initTitles(): global isInitTitles if isInitTitles: return isInitTitles = True Titles.load() Nsps.load() Titles.queue.load()