bsddb changed nulls in access file policy
This commit is contained in:
@@ -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
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user