'Create a csv file with the provided list of lists.
:param filename: this is the name that will be used for the csv file. Its location will
be under the test upload data directory
:param csv_text_as_lists: provide the contents of the csv file int he form of a list of lists'

def _create_csv_file(self, filename, csv_text_as_lists):

    filename = self.instructor_dashboard_page.get_asset_path(filename)
    with open(filename, 'w+') as csv_file:
        writer = unicodecsv.writer(csv_file)
        for line in csv_text_as_lists:
            writer.writerow(line)
    self.addCleanup(os.remove, filename)
