]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
fix is_auth_lmdb()
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 18 Feb 2021 09:32:04 +0000 (10:32 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 18 Feb 2021 09:32:04 +0000 (10:32 +0100)
regression-tests.api/test_helper.py

index b401268b4d69f81cfcd93985c571d5dfdb88f928..90809b0c25eb68003be340ed3717f9eb05ce5c86 100644 (file)
@@ -73,8 +73,7 @@ def is_auth():
     return DAEMON == 'authoritative'
 
 def is_auth_lmdb():
-    print('BACKEND=', BACKEND)
-    return DAEMON == 'authoritative'
+    return DAEMON == 'authoritative' and BACKEND == 'lmdb'
 
 def is_recursor():
     return DAEMON == 'recursor'