mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-17 06:20:27 +00:00
Tidy TestClamav.testInfected() acceptable_responses
This commit is contained in:
parent
5ee8d8e1ea
commit
c71cfcbea4
1 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,9 @@ class TestClamav(unittest.TestCase):
|
|||
infected, errors = clamav.scan(data, self.clamav_conf)
|
||||
# different versions of clamav report different responses, apparently
|
||||
acceptable_responses = (
|
||||
["stream: ClamAV-Test-File(2d1206194bd704385e37000be6113f73:781) FOUND\n"],
|
||||
[
|
||||
"stream: ClamAV-Test-File(2d1206194bd704385e37000be6113f73:781) FOUND\n"
|
||||
],
|
||||
[
|
||||
"stream: Clamav.Test.File-6(aa15bcf478d165efd2065190eb473bcb:544) FOUND\n"
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue