예제 #1
0
 def test_db_l7policies_to_provider_l7policies(self):
     provider_rules = utils.db_l7policies_to_provider_l7policies(
         self.sample_data.db_l7policies)
     self.assertEqual(self.sample_data.provider_l7policies, provider_rules)
예제 #2
0
 def test_db_l7policies_to_provider_l7policies(self):
     provider_rules = utils.db_l7policies_to_provider_l7policies(
         self.sample_data.db_l7policies)
     self.assertEqual(self.sample_data.provider_l7policies, provider_rules)