From 64bfb6a06cae620ff396c25bf75f674fdd52adc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Vavru=C5=A1a?= <marek.vavrusa@nic.cz> Date: Tue, 15 Sep 2015 17:42:35 +0200 Subject: [PATCH] tests: enable verbose logging --- tests/kresd.j2 | 1 + tests/pydnstest/scenario.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/kresd.j2 b/tests/kresd.j2 index 499e15f6d..72b89cea3 100644 --- a/tests/kresd.j2 +++ b/tests/kresd.j2 @@ -5,6 +5,7 @@ hints.root({['k.root-servers.net'] = '{{ROOT_ADDR}}'}) option('NO_MINIMIZE', {{NO_MINIMIZE}}) option('ALLOW_LOCAL', true) validate.trust_anchor_add('{{TRUST_ANCHOR}}') +verbose(true) -- Self-checks on globals assert(help() ~= nil) diff --git a/tests/pydnstest/scenario.py b/tests/pydnstest/scenario.py index 159d5b83a..50696fd1c 100644 --- a/tests/pydnstest/scenario.py +++ b/tests/pydnstest/scenario.py @@ -304,8 +304,8 @@ class Step: else: if ctx.last_answer is None: raise Exception("no answer from preceding query") - expected.match(ctx.last_answer) dprint(ctx.last_answer.to_text()) + expected.match(ctx.last_answer) def __query(self, ctx, peeraddr): """ Resolve a query. """ -- GitLab