fix render
This commit is contained in:
parent
5ba879d4b5
commit
e8b06d8e16
|
@ -220,8 +220,7 @@ def test_export_devices(user3: UserClientFlask):
|
||||||
with Path(__file__).parent.joinpath('files').joinpath(
|
with Path(__file__).parent.joinpath('files').joinpath(
|
||||||
'export_devices.csv'
|
'export_devices.csv'
|
||||||
).open() as csv_file:
|
).open() as csv_file:
|
||||||
obj_csv = csv.reader(csv_file, delimiter=';', quotechar='"')
|
fixture_csv = [line.split(";") for line in csv_file.read().split("\n")]
|
||||||
fixture_csv = list(obj_csv)
|
|
||||||
|
|
||||||
assert fixture_csv[0] == export_csv[0], 'Headers are not equal'
|
assert fixture_csv[0] == export_csv[0], 'Headers are not equal'
|
||||||
assert (
|
assert (
|
||||||
|
|
Reference in New Issue