Merge branch 'master' of github.com:sdgathman/pymilter
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ class PolicyTestCase(unittest.TestCase):
|
||||
pol = p.getPolicy('smtp-test')
|
||||
self.assertEqual(pol,'WILDCARD')
|
||||
|
||||
def suite(): return unittest.makeSuite(PolicyTestCase,'test')
|
||||
def suite(): return unittest.TestLoader().loadTestsFromTestCase(PolicyTestCase)
|
||||
|
||||
if __name__ == '__main__':
|
||||
if len(sys.argv) < 2:
|
||||
|
||||
Reference in New Issue
Block a user