Commits

David North committed 5fb7ea4

Fix method call

Comments (0)

Files changed (1)

src/eximunit/smtp.py

         self.assertDataRejected('eicar.txt', expect_resp)
 
     def assertVirusAccepted(self):
-        return self.data(readFile('eicar.txt'))
+        return self.data(self._getData('eicar.txt'))
 
     def assertDataRejected(self, filename, expect_resp=None):
         data = self._getData(filename)