Browse Source

[trac983] Adjust exception in test

Michal 'vorner' Vaner 14 years ago
parent
commit
b327d9aac9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/python/isc/acl/tests/dns_test.py

+ 1 - 1
src/lib/python/isc/acl/tests/dns_test.py

@@ -93,7 +93,7 @@ class RequestContextTest(unittest.TestCase):
 class RequestACLTest(unittest.TestCase):
 
     def test_direct_construct(self):
-        self.assertRaises(TypeError, RequestACL)
+        self.assertRaises(Error, RequestACL)
 
     def test_request_loader(self):
         # these shouldn't raise an exception