Add test for UI methods

This commit is contained in:
Matthias
2021-01-31 15:27:00 +01:00
parent 28be71806f
commit e4a085027b
2 changed files with 16 additions and 1 deletions

View File

@@ -146,7 +146,7 @@ def clean_ui_subdir(directory: Path):
logger.info("Removing UI directory content.")
for p in reversed(list(directory.glob('**/*'))): # iterate contents from leaves to root
if p.name in ('.gitkeep', 'fallback_file.html'):
if p.name in ('favicon.ico', 'fallback_file.html'):
continue
if p.is_file():
p.unlink()