def pytest_generate_tests(metafunc): #get coder's username to reduce number of files parsed username = get_username_from_github() files = parseTurtle.find_all_turtle_files( "data/individuals-{}/".format(username)) #files = parseTurtle.find_all_turtle_files("data/") metafunc.parametrize("file_to_check", files)
def pytest_generate_tests(metafunc): files = parseTurtle.find_all_turtle_files("data") metafunc.parametrize("file_to_check", files)