1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2026-01-03 04:14:20 +01:00

Fix unit tests

This commit is contained in:
2024-09-13 18:16:45 +02:00
parent 463f6ed705
commit a5606272cd
11 changed files with 65 additions and 68 deletions

View File

@@ -297,6 +297,8 @@ class ArchiveBase(Base):
logging.debug("_validate_options")
validation_result = super(ArchiveBase, self)._validate_options()
if not validation_result:
return False
if 'wrapper_archive' not in self.all_options:
logging.warning("Configuration lacks of optional `wrapper_archive'"
@@ -325,4 +327,3 @@ class ArchiveBase(Base):
basename == os.path.splitext(fname)[0]):
return fname
return None