]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use more concise syntax to check responses in rpzextra tests
authorTom Krizek <tkrizek@isc.org>
Thu, 23 Mar 2023 13:41:05 +0000 (14:41 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 4 Apr 2023 14:27:48 +0000 (16:27 +0200)
commitb765eac70364e05d04effd8dcc48b40a18c32ff4
treefaf7bdfc1c1edaa833cb62f7933c80b30b5cbd13
parentf60bed5eb15c8c7466d32075db484e8720773b75
Use more concise syntax to check responses in rpzextra tests

All the answers are expected to have exactly one resource record. Check
it directly instead of iterating over all (possible) records.

(cherry picked from commit 2ed26609b86b3748c1254789616fa8a4893a054e)
bin/tests/system/rpzextra/tests_rpz_multiple_views.py
bin/tests/system/rpzextra/tests_rpz_passthru_logging.py