1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
From: "Stuart D. Gathman" <stuart@gathman.org>
Date: Tue, 15 Oct 2024 19:42:05 -0400
Subject: bsddb changed nulls in access file policy
Origin: upstream, https://github.com/sdgathman/pymilter/commit/5ad23e468d55e66af03015b800d1483bf77a15ea
Last-Update: 2025-01-12
---
.gitignore | 3 +++
testpolicy.py | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/testpolicy.py b/testpolicy.py
index dbe6638..6cd563e 100644
--- a/testpolicy.py
+++ b/testpolicy.py
@@ -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')
|