From: Michal 'vorner' Vaner Date: Tue, 25 Sep 2012 09:05:31 +0000 (+0200) Subject: [2191] Removed deprecated test from python version X-Git-Tag: trac2351_base~37^2~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de626b3c2aec2bd7896e75c5ae14337b03342729;p=thirdparty%2Fkea.git [2191] Removed deprecated test from python version The load of empty list is no longer invalid. --- diff --git a/src/lib/python/isc/acl/tests/dns_test.py b/src/lib/python/isc/acl/tests/dns_test.py index d225bee9f3..84fead2143 100644 --- a/src/lib/python/isc/acl/tests/dns_test.py +++ b/src/lib/python/isc/acl/tests/dns_test.py @@ -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,