예제 #1
0
 def setUp(self):
     super(NetworksEnforcementV21, self).setUp()
     self.controller = networks_v21.NetworkController()
     self.req = fakes.HTTPRequest.blank('')
예제 #2
0
 def _setup(self):
     self.controller = networks_v21.NetworkController(self.fake_network_api)
예제 #3
0
 def _setup(self):
     self.controller = networks_v21.NetworkController(self.PassthroughAPI())
예제 #4
0
 def _setup(self):
     self.controller = networks_v21.NetworkController(self.fake_network_api)
     self.neutron_ctrl = networks_v21.NetworkController(
         neutron.API(skip_policy_check=True))
예제 #5
0
 def _setup(self):
     self.controller = networks_v21.NetworkController(self.fake_network_api)
     self.neutron_ctrl = networks_v21.NetworkController(
         neutron.API(skip_policy_check=True))
     self.req = fakes.HTTPRequest.blank('')
예제 #6
0
 def _setup(self):
     self.req = fakes.HTTPRequest.blank('')
     self.controller = networks_v21.NetworkController(self.PassthroughAPI())