Refactors Services and Initial Test Implementation

This commit is contained in:
2024-05-21 03:35:24 -03:00
parent b93faf11b3
commit 7eb4d5b64d
21 changed files with 336 additions and 34 deletions

View File

@@ -34,7 +34,7 @@ class VirusTotalService(VirusCheckerService):
@staticmethod
def _is_valid_file(file_stats: dict) -> bool:
match file_stats:
case {"malicious": 0, "suspicious": 0, "undetected": 0, "harmless": 0}:
case {"malicious": 0, "suspicious": 0, "harmless": 0}:
return True
case _:
return False