mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-19 04:20:23 +01:00
Fixed tests for wrapper modules
Exchanged os.rename with shutil.move since there was a problem with moving files between different filesystems.
This commit is contained in:
@@ -240,7 +240,10 @@ class TestBase(TestCase):
|
||||
'wrapper_archiver': '7z'}
|
||||
self.assertTrue(bobj._validate_options())
|
||||
|
||||
def test_run_clean(self):
|
||||
@mock.patch('fs_uae_wrapper.path.which')
|
||||
def test_run_clean(self, which):
|
||||
|
||||
which.return_value = 'rar'
|
||||
|
||||
bobj = base.Base('Config.fs-uae', utils.CmdOption(), {})
|
||||
bobj.all_options = {}
|
||||
|
||||
Reference in New Issue
Block a user