def test_process_file_csv(client: ExtractTable, fmt="csv"):
    return all([os.path.exists(x) and x.endswith(fmt) for x in client.process_file(filepath=FILE_PATH, output_format=fmt)])
Beispiel #2
0
def test_process_file_index(client: ExtractTable):
    assert not (client.process_file(FILE_PATH, RESULTS_FOLDER, True))
def test_process_file(client: ExtractTable):
    assert isinstance(client.process_file(filepath=FILE_PATH, output_format="df"), list)