fix render

This commit is contained in:
Cayo Puigdefabregas 2022-08-01 19:38:09 +02:00
parent 5ba879d4b5
commit e8b06d8e16
1 changed files with 1 additions and 2 deletions

View File

@ -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 (