Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
virulencefinder could not be built reproducibly.
This was because it ships a different binary package depending
on whether the tests are run or not, which was caused by the
packaging overriding dh_auto_test and therefore effectively
disabling PYBUILD_AFTER_TEST.
Patch attached that moves the "rm -rf" call from the (currently
ignored PYBUILD_AFTER_TEST) to inside override_dh_auto_test.
[0] https://reproducible-builds.org/
Regards,