Example #1
0
 def setUp(self):
     super(FloatingIPDNSEntryPolicyEnforcementV21, self).setUp()
     self.controller = fipdns_v21.FloatingIPDNSEntryController()
     self.rule_name = "os_compute_api:os-floating-ip-dns"
     self.policy.set_rules({self.rule_name: "project:non_fake"})
     self.req = fakes.HTTPRequest.blank('')
Example #2
0
 def setUp(self):
     super(FloatingIpDNSEntryDeprecationTest, self).setUp()
     self.controller = fipdns_v21.FloatingIPDNSEntryController()
     self.req = fakes.HTTPRequest.blank('', version='2.36')