def snapshotting_called_first(stack, action, status, reason):
    self.assertEqual(stack.status, stack.IN_PROGRESS)
    self.assertEqual(stack.action, stack.SNAPSHOT)
def snapshotting_called_first(stack, action, status, reason):
    self.assertEqual(stack.status, stack.IN_PROGRESS)
    self.assertEqual(stack.action, stack.SNAPSHOT)