def test_check_not_supported(self):
    stack1 = self._get_stack_to_check('check-not-supported')
    del stack1['B'].handle_check
    stack1['A'].state_set(stack1['A'].CREATE, stack1['A'].COMPLETE)
    stack1.check()
    self.assertEqual(stack1.COMPLETE, stack1.status)
    self.assertEqual(stack1.CHECK, stack1.action)
    self.assertTrue(stack1['A'].handle_check.called)
    self.assertIn('not fully supported', stack1.status_reason)
def test_check_not_supported(self):
    stack1 = self._get_stack_to_check('check-not-supported')
    del stack1['B'].handle_check
    stack1['A'].state_set(stack1['A'].CREATE, stack1['A'].COMPLETE)
    stack1.check()
    self.assertEqual(stack1.COMPLETE, stack1.status)
    self.assertEqual(stack1.CHECK, stack1.action)
    self.assertTrue(stack1['A'].handle_check.called)
    self.assertIn('not fully supported', stack1.status_reason)