def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = model.ROM(
     name = "ROM",
     path = rompath,
     console = mock(),
   )
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)
 def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = model.ROM(
     name = "ROM",
     path = rompath,
     console = mock(),
   )
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)
Exemple #3
0
 def test_emulator_rom_launch_command(self, fmt, location, rompath, expected):
   emu = model.Emulator("Mednafen", location, fmt)
   r = rom.ROM(rompath, mock(), "ROM")
   self.assertEqual(emulators.emulator_rom_launch_command(emu, r), expected)