bsddb changed nulls in access file policy
This commit is contained in:
1 parent
1212a0ef59
commit
5ad23e468d
2 files changed
+4
-1
No files matched your search
@@ -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('[email protected]',conf=self.config) as p:
|
||||
pol = p.getPolicy('smtp-auth')
|
||||
self.assertEqual(pol,'OK')
|
||||
|
||||
Reference in new issue
Block a user