def setUp(self):
     super(NetworksTest, self).setUp()
     self.cs = fakes.FakeClient()
     self.network_type = networks.Network
     self.gid = '11111111'
     self.user_id = '4ffc664c198e435e9853f253lkbcd7a7'
     self.project_id = '9sac664c198e435e9853f253lkbcd7a7'
 def setUp(self):
     super(SecuritygroupsTest, self).setUp()
     self.cs = fakes.FakeClient()
     self.securitygroup_type = securitygroups.Securitygroup
     self.gid = '11111111'
     self.user_id = '4ffc664c198e435e9853f253lkbcd7a7'
     self.project_id = '9sac664c198e435e9853f253lkbcd7a7'
示例#3
0
 def setUp(self):
     super(ProcesssTest, self).setUp()
     self.cs = fakes.FakeClient()
     self.process_type = processes.Process
     self.gid = '11111111'
     self.user_id = '4ffc664c198e435e9853f253lkbcd7a7'
     self.project_id = '9sac664c198e435e9853f253lkbcd7a7'
 def setUp(self):
     super(KeypairsTest, self).setUp()
     self.cs = fakes.FakeClient()
     self.keypair_type = keypairs.Keypair
     self.gid = '11111111'
     self.user_id = '4ffc664c198e435e9853f253lkbcd7a7'
     self.project_id = '9sac664c198e435e9853f253lkbcd7a7'
示例#5
0
 def setUp(self):
     super(GroupsTest, self).setUp()
     self.cs = fakes.FakeClient()
     self.group_type = groups.Group