Beispiel #1
0
 def test_ipv6_not_contained(self):
     expected_results = False
     results = cgrep.check_encapsulated('network', 'RESERVED', 'LINKLOCAL',
                                        self.db)
     self.assertEquals(results, expected_results)
Beispiel #2
0
 def test_ipv6_not_contained(self):
   expected_results = False
   results = cgrep.check_encapsulated('network', 'RESERVED', 'LINKLOCAL',
                                      self.db)
   self.assertEquals(results, expected_results)
Beispiel #3
0
 def test_ip_contained(self):
     expected_results = True
     results = cgrep.check_encapsulated('network', 'RFC1918', 'RESERVED',
                                        self.db)
     self.assertEquals(results, expected_results)
Beispiel #4
0
 def test_ip_contained(self):
   expected_results = True
   results = cgrep.check_encapsulated('network', 'RFC1918', 'RESERVED',
                                      self.db)
   self.assertEquals(results, expected_results)