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