1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2026-02-22 11:05:51 +01:00

Refactor wrapper modules to have a main class with the same name

This commit is contained in:
2017-01-07 13:13:18 +01:00
parent 8892940339
commit ab4042f880
6 changed files with 18 additions and 19 deletions

View File

@@ -42,7 +42,7 @@ class TestSaveState(TestCase):
save_state.return_value = False
which.return_value = 'rar'
arch = savestate.SaveState('Config.fs-uae', utils.CmdOption(), {})
arch = savestate.Wrapper('Config.fs-uae', utils.CmdOption(), {})
self.assertFalse(arch.run())
arch.all_options = {'wrapper': 'savestate',
@@ -69,7 +69,7 @@ class TestSaveState(TestCase):
def test_validate_options(self, which):
which.return_value = 'unrar'
arch = savestate.SaveState('Config.fs-uae', utils.CmdOption(), {})
arch = savestate.Wrapper('Config.fs-uae', utils.CmdOption(), {})
self.assertFalse(arch._validate_options())
arch.all_options['wrapper'] = 'savestate'