Fix python3 unit tests

This commit is contained in:
Stuart D. Gathman
2018-12-23 23:38:15 -05:00
parent 4e8fda517c
commit d30918aca7
3 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class BMSMilterTestCase(unittest.TestCase):
self.assertTrue(rc == Milter.CONTINUE)
rc = milter.feedMsg(fname)
self.assertTrue(milter.user == 'batman',"getsymval failed")
# setsymlist not called yet in sampleMilter
# setsymlist not working in TestBase
#self.assertTrue(milter.auth_type != 'batcomputer',"setsymlist failed")
self.assertTrue(rc == Milter.ACCEPT)
self.assertTrue(milter._bodyreplaced,"Message body not replaced")