Add eicar antivirus testing file as a fixture to support the possibility of writing an integration test, and to have the standard antivirus testing file handy.
Testing the private method calls is not my first choice, but it beat out having an integration test that required actually calling ClamAV. A more robust solution would be to tease apart and recompose detect_viruses in such a way that the behavior is testable without having to call private methods.
Coverage increased (+0.002%) to 99.045% when pulling 9dfb7f2fcd651ccc131d34ce40172f589798c675 on fix/virus_check into 63130ae5ebbeb2ef0ee24be745cab87c5c605ef0 on master.
Add eicar antivirus testing file as a fixture to support the possibility of writing an integration test, and to have the standard antivirus testing file handy.
Testing the private method calls is not my first choice, but it beat out having an integration test that required actually calling ClamAV. A more robust solution would be to tease apart and recompose
detect_viruses
in such a way that the behavior is testable without having to call private methods.Closes #277