Skip to content

Commit 51f25af

Browse files
authored
chore: correct typo in pipes/clamav (#2121)
Signed-off-by: OmAnand857 <allansmith2561@gmail.com>
1 parent 2748166 commit 51f25af

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scanpipe/pipes/clamav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def scan_for_virus(project):
4949

5050
resource = project.codebaseresources.get(path=resource_path)
5151
virus_report = {
52-
"calmav": {
52+
"clamav": {
5353
"status": status,
5454
"reason": reason,
5555
}

scanpipe/tests/pipes/test_clamav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_scanpipe_pipes_clamav_scan_for_virus(self, mock_multiscan):
6060
resource1 = project.codebaseresources.first()
6161
expected_virus_report_extra_data = {
6262
"virus_report": {
63-
"calmav": {
63+
"clamav": {
6464
"status": "FOUND",
6565
"reason": "Win.Test.EICAR_HDB-1",
6666
}

0 commit comments

Comments
 (0)