From 988e14d8c652a077fcb47a0ec1a88eb3ca3fdb5f Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 11 Dec 2013 10:17:55 +1100 Subject: [PATCH] TST: negative match for DNS lookup test added --- testcases/filtertestcase.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/filtertestcase.py b/testcases/filtertestcase.py index 892a4a6e..0d2b58fb 100644 --- a/testcases/filtertestcase.py +++ b/testcases/filtertestcase.py @@ -163,6 +163,8 @@ class IgnoreIP(unittest.TestCase): self.filter.addIgnoreIP("www.epfl.ch") self.assertTrue(self.filter.inIgnoreIPList("128.178.50.12")) + self.assertFalse(self.filter.inIgnoreIPList("128.178.50.11")) + self.assertFalse(self.filter.inIgnoreIPList("128.178.50.13")) def testIgnoreIPNOK(self): ipList = "", "999.999.999.999", "abcdef", "192.168.0."