def test_no_matching_ExecuteResourceGroups(self): assert check_allocation("no_matching_ExecuteResourceGroups", SCHEDD, EXEC_RES) == "no matches"
def test_no_matching_SubmitResources(self): assert check_allocation("no_matching_SubmitResources", SCHEDD, EXEC_RES) == "no matches"
def test_no_ExecuteResourceGroups(self): assert check_allocation("no_ExecuteResourceGroups1", SCHEDD, EXEC_RES) == "no matches" # ^^ no_ExecuteResourceGroups1 should also print a warning about having malformed project data assert check_allocation("no_ExecuteResourceGroups2", SCHEDD, EXEC_RES) == "no matches"
def test_no_ResourceAllocations(self): assert check_allocation("no_ResourceAllocations", "", "") == "no ResourceAllocations"
def test_project_not_found(self): assert check_allocation("fdsfsdfwef", "", "") == "project not found"
def test_UTAustin_Zimmerman(self): assert check_allocation("UTAustin_Zimmerman", SCHEDD2, EXEC_RES2) == "OK"
def test_TG_CHE200122(self): assert check_allocation("TG-CHE200122", SCHEDD2, EXEC_RES2) == "OK"
def test_CHTC_Staff(self): assert check_allocation("CHTC-Staff", SCHEDD, EXEC_RES) == "OK"