"""
This file contains methods which require multiple data types
"""
from src.GlobalVar import RomanDataList as rml


def test_for_none():
    """
        Tests if any line is incomplete if is, then print it
    """
    for i in rml:
        if ( i.logDate == None or i.eTypes == None or i.ip == None or i.authTime == None or i.user == None or
                        i.originLine == None):
            print ("{0} has incomplete data so it should be removed".format(i.originLine))
            print (i)
            print (type (i.logDate))
            print (type (i.authTime))
            print (i.logDate)
            print (i.authTime)
        #elif i.logDate != i.authTime:
        #    print ("{0} has different auth and log data so it should be removed".format(i.originLine))
        #    print (i)
        #    print (i.logDate)
        #    print (i.authTime)


def test_for_authTime():
    for i in rml:
        pass
#        if (i.logDate. != or )
