def get_test_stats(pass_count, fail_count):
    """Show test pass/fail percentage.

    :param pass_count: The number of tests passed.
    :param fail_count: The number of tests failed.
    :return: Pass/fail percentage.
    :rtype: str
    """
    if fail_count == 0:
        percent = 100
    else:
        percent = int(pass_count / (pass_count + fail_count) * 100)
    return str(percent)
