]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2191] Removed deprecated test from python version
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 25 Sep 2012 09:05:31 +0000 (11:05 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Tue, 25 Sep 2012 09:05:31 +0000 (11:05 +0200)
The load of empty list is no longer invalid.

src/lib/python/isc/acl/tests/dns_test.py

index d225bee9f34a28968b0c4c7b058e2071d3876aeb..84fead214357604e27afbeb7d981ef4937ea92c6 100644 (file)
@@ -197,10 +197,6 @@ class RequestACLTest(unittest.TestCase):
                           '[{"action": "ACCEPT", "from": 4}]')
         self.assertRaises(LoaderError, REQUEST_LOADER.load,
                           [{"action": "ACCEPT", "from": 4}])
-        self.assertRaises(LoaderError, REQUEST_LOADER.load,
-                          '[{"action": "ACCEPT", "from": []}]')
-        self.assertRaises(LoaderError, REQUEST_LOADER.load,
-                          [{"action": "ACCEPT", "from": []}])
         self.assertRaises(LoaderError, REQUEST_LOADER.load,
                           '[{"action": "ACCEPT", "key": 1}]')
         self.assertRaises(LoaderError, REQUEST_LOADER.load,