def test_generate_one_one(self): options = {"boss": "One to One"} rando = Randomizer(tempdir=self._get_tmp_path()) b64 = rando.generate_seed("kh2", options=options) import base64 # Make sure it's valid base64 base64.decodebytes(b64)
def test_generate_all_xemnas(self): options = {"selected_boss": "Xemnas", "boss": "Selected Boss"} rando = Randomizer(tempdir=self._get_tmp_path()) b64 = rando.generate_seed("kh2", options=options) import base64 # Make sure it's valid base64 base64.decodebytes(b64)
def _generateSeed(self, options, seed="12345"): rando = Randomizer(tempfn="test") return rando.generate_seed("kh2", options, seed, randomization_only=True)