def warning_test():
    """For testing warning function."""
    from warnings import warn
    from hapiclient.util import warning
    warn('Normal warning 1')
    warn('Normal warning 2')
    warning('HAPI Warning 1')
    warning('HAPI Warning 2')
    warn('Normal warning 3')
    warn('Normal warning 4')
