Beispiel #1
0
 def setUp(self):
     super(NovaProtectionPluginTest, self).setUp()
     self.cntxt = RequestContext(user_id='demo',
                                 project_id='abcd',
                                 auth_token='efgh')
     self.plugin = NovaProtectionPlugin(cfg.CONF)
     self.glance_client = FakeGlanceClient()
     self.nova_client = FakeNovaClient()
     self.cinder_client = FakeCinderClient()
     self.neutron_client = FakeNeutronClient()
     self.checkpoint = Checkpoint()