Beispiel #1
0
 def setUp(self):
     super(DBAPIEventTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
Beispiel #2
0
 def setUp(self):
     super(DBAPIEventTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
Beispiel #3
0
 def setUp(self):
     super(DBAPIWatchRuleTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
     self.stack = create_stack(self.ctx, self.template, self.user_creds)
Beispiel #4
0
 def setUp(self):
     super(DBAPIResourceTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
     self.stack = create_stack(self.ctx, self.template, self.user_creds)
Beispiel #5
0
 def setUp(self):
     super(DBAPIWatchDataTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
     self.stack = create_stack(self.ctx, self.template, self.user_creds)
     self.watch_rule = create_watch_rule(self.ctx, self.stack)
Beispiel #6
0
 def setUp(self):
     super(DBAPIResourceDataTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.template = create_raw_template(self.ctx)
     self.user_creds = create_user_creds(self.ctx)
     self.stack = create_stack(self.ctx, self.template, self.user_creds)
     self.resource = create_resource(self.ctx, self.stack)
     self.resource.context = self.ctx
Beispiel #7
0
 def tearDown(self):
     super(SignalTest, self).tearDown()
     utils.reset_dummy_db()
Beispiel #8
0
 def tearDown(self):
     super(SignalTest, self).tearDown()
     utils.reset_dummy_db()
Beispiel #9
0
 def tearDown(self):
     super(WaitConditionTest, self).tearDown()
     utils.reset_dummy_db()
 def tearDown(self):
     super(StackUserTest, self).tearDown()
     utils.reset_dummy_db()
Beispiel #11
0
 def setUp(self):
     super(SqlAlchemyTest, self).setUp()
     self.fc = fakes.FakeClient()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.ctx = utils.dummy_context()
Beispiel #12
0
 def setUp(self):
     super(SqlAlchemyTest, self).setUp()
     self.fc = fakes.FakeClient()
     utils.setup_dummy_db()
     utils.reset_dummy_db()
     self.ctx = utils.dummy_context()
 def tearDown(self):
     super(StackUserTest, self).tearDown()
     utils.reset_dummy_db()
 def tearDown(self):
     super(WaitConditionUpdateTest, self).tearDown()
     utils.reset_dummy_db()
     scheduler.ENABLE_SLEEP = True
Beispiel #15
0
 def tearDown(self):
     super(WaitConditionHandleTest, self).tearDown()
     utils.reset_dummy_db()
Beispiel #16
0
 def tearDown(self):
     super(WaitConditionUpdateTest, self).tearDown()
     utils.reset_dummy_db()
     scheduler.ENABLE_SLEEP = True
Beispiel #17
0
 def setUp(self):
     super(DBAPIUtilTest, self).setUp()
     self.ctx = utils.dummy_context()
     utils.setup_dummy_db()
     utils.reset_dummy_db()