示例#1
0
文件: tests.py 项目: thundrio-kh/khbr
 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)
示例#2
0
文件: tests.py 项目: thundrio-kh/khbr
 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)
示例#3
0
文件: tests.py 项目: thundrio-kh/khbr
 def _generateSeed(self, options, seed="12345"):
     rando = Randomizer(tempfn="test")
     return rando.generate_seed("kh2", options, seed, randomization_only=True)