bsddb changed nulls in access file policy

This commit is contained in:
Stuart D. Gathman
2024-10-15 19:42:05 -04:00
parent 1212a0ef59
commit 5ad23e468d
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,8 +1,11 @@
*.pyc *.pyc
*.tar.gz
build/ build/
test/*.out test/*.out
test/*.tstout test/*.tstout
test/*.log test/*.log
test/*.db
test.db test.db
dist dist
log
MANIFEST MANIFEST
+1 -1
View File
@@ -25,7 +25,7 @@ class PolicyTestCase(unittest.TestCase):
def testPolicy(self): def testPolicy(self):
self.config.access_file_colon = False 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: with MTAPolicy('good@example.com',conf=self.config) as p:
pol = p.getPolicy('smtp-auth') pol = p.getPolicy('smtp-auth')
self.assertEqual(pol,'OK') self.assertEqual(pol,'OK')