]> git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.api/test_Discovery.py
Make sure we can install unsigned packages.
[thirdparty/pdns.git] / regression-tests.api / test_Discovery.py
1 from test_helper import ApiTestCase
2
3
4 class DiscoveryTest(ApiTestCase):
5
6 def test_discovery(self):
7 r = self.session.get(self.url("/api"))
8 self.assert_success_json(r)
9 lst = r.json()
10 self.assertEquals(lst, [{'version': 1, 'url': '/api/v1'}])