mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-18 20:10:26 +01:00
Added test for base wrapper class
Moved most tests from cd32 module to base one. Added missing tests for cd32 module.
This commit is contained in:
@@ -177,7 +177,7 @@ class Base(object):
|
||||
return None
|
||||
|
||||
save_path = os.path.join(self.dir, save)
|
||||
if not os.path.exists(save_path):
|
||||
if not os.path.exists(save_path) or not os.path.isdir(save_path):
|
||||
return None
|
||||
|
||||
return save_path
|
||||
@@ -188,3 +188,4 @@ class Base(object):
|
||||
sys.stderr.write("Configuration lacks of required "
|
||||
"`wrapper' option.\n")
|
||||
return False
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user