def test_check_supported(self):
    stack1 = self._get_stack_to_check('check-supported')
    stack1['A'].state_set(stack1['A'].CREATE, stack1['A'].COMPLETE)
    stack1['B'].state_set(stack1['B'].CREATE, stack1['B'].COMPLETE)
    stack1.check()
    self.assertEqual(stack1.COMPLETE, stack1.status)
    self.assertEqual(stack1.CHECK, stack1.action)
    [self.assertTrue(res.handle_check.called) for res in stack1.resources.values()]
    self.assertNotIn('not fully supported', stack1.status_reason)
def test_check_supported(self):
    stack1 = self._get_stack_to_check('check-supported')
    stack1['A'].state_set(stack1['A'].CREATE, stack1['A'].COMPLETE)
    stack1['B'].state_set(stack1['B'].CREATE, stack1['B'].COMPLETE)
    stack1.check()
    self.assertEqual(stack1.COMPLETE, stack1.status)
    self.assertEqual(stack1.CHECK, stack1.action)
    [self.assertTrue(res.handle_check.called) for res in stack1.resources.values()]
    self.assertNotIn('not fully supported', stack1.status_reason)