Skip to content

Commit

Permalink
test ipToName Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Clemens committed Feb 2, 2015
1 parent 4cfbb84 commit fef031b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fail2ban/tests/filtertestcase.py
Expand Up @@ -1014,6 +1014,7 @@ def testTextToIp(self):
def testIpToName(self):
res = DNSUtils.ipToName('66.249.66.1')
self.assertEqual(res, 'crawl-66-249-66-1.googlebot.com')
self.assertRaises(Exception, DNSUtils.ipToName, ['10.0.0.0'])

class JailTests(unittest.TestCase):

Expand Down

0 comments on commit fef031b

Please sign in to comment.