bsddb changed nulls in access file policy
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
*.pyc
|
||||
*.tar.gz
|
||||
build/
|
||||
test/*.out
|
||||
test/*.tstout
|
||||
test/*.log
|
||||
test/*.db
|
||||
test.db
|
||||
dist
|
||||
log
|
||||
MANIFEST
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ class PolicyTestCase(unittest.TestCase):
|
||||
|
||||
def testPolicy(self):
|
||||
self.config.access_file_colon = False
|
||||
self.config.access_file_nulls = True
|
||||
self.config.access_file_nulls = False # FIXME: test old and new bsddb
|
||||
with MTAPolicy('good@example.com',conf=self.config) as p:
|
||||
pol = p.getPolicy('smtp-auth')
|
||||
self.assertEqual(pol,'OK')
|
||||
|
||||
Reference in New Issue
Block a user