]> git.ipfire.org Git - thirdparty/pdns.git/commit - regression-tests.dnsdist/requirements.txt
dnsdist: Add API regression tests 3538/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 9 Mar 2016 07:49:00 +0000 (08:49 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 9 Mar 2016 07:49:00 +0000 (08:49 +0100)
commit02bbf9eb882e5ddbc81036660c8340bc5ebd1597
treefc3aea2a3738d65e87419295a13372f67244b454
parent02abb9023c9a5793b7803ec116faf2d587225e00
dnsdist: Add API regression tests

So we'll notice if we break the web server or the API.
This commit also cleans up the responses counter usage.
Because the counters are written to by the responder threads,
they are updated at the class level. We do not want to alter
them at the instance level, because that would create a new variable
at this level, disconnected from the other one, but we can still
read them from the instance level using 'self'.
regression-tests.dnsdist/requirements.txt
regression-tests.dnsdist/test_API.py [new file with mode: 0644]
regression-tests.dnsdist/test_Caching.py
regression-tests.dnsdist/test_Routing.py