def assertEqual(first, second, message=None):
    """
    Assert that first equals second.

    :param first: First part to evaluate
    :param second: Second part to evaluate
    :param message: Failure message
    :raises: TestStepFail if not first == second
    """
    if not first == second:
        raise TestStepFail(
            format_message(message) if message is not None else "Assert: %s != %s" % (str(first),
                                                                                      str(second)))
def assertEqual ( first , second , message = None ) : if not first == second : raise TestStepFail ( format_message ( message ) if message is not None else "Assert: %s != %s" % ( str ( first ) , str ( second ) ) )
Assert that first equals second.

    :param first: First part to evaluate
    :param second: Second part to evaluate
    :param message: Failure message
    :raises: TestStepFail if not first == second