From e8b06d8e167a9bd70fa1381c39e463031f118457 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 1 Aug 2022 19:38:09 +0200 Subject: [PATCH] fix render --- tests/test_render_2_0.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_render_2_0.py b/tests/test_render_2_0.py index 944995e6..d110736d 100644 --- a/tests/test_render_2_0.py +++ b/tests/test_render_2_0.py @@ -220,8 +220,7 @@ def test_export_devices(user3: UserClientFlask): with Path(__file__).parent.joinpath('files').joinpath( 'export_devices.csv' ).open() as csv_file: - obj_csv = csv.reader(csv_file, delimiter=';', quotechar='"') - fixture_csv = list(obj_csv) + fixture_csv = [line.split(";") for line in csv_file.read().split("\n")] assert fixture_csv[0] == export_csv[0], 'Headers are not equal' assert (