def METHOD_NAME(self):
    mock_id = 'd-1234567XX'
    expected_stdout = self.deployer.MSG_WAITING.format(
        deployment_id=mock_id, wait=30)
    with capture_output() as captured:
        self.deployer.wait_for_deploy_success('d-1234567XX', 0)
        self.assertEqual(expected_stdout, captured.stdout.getvalue())