fix render test

This commit is contained in:
Cayo Puigdefabregas 2023-03-27 17:17:13 +02:00
parent 745b9966df
commit 4b9f1c02b9
2 changed files with 7 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -264,16 +264,16 @@ def test_export_devices(user3: UserClientFlask):
assert fixture_csv[0] == export_csv[0], 'Headers are not equal' assert fixture_csv[0] == export_csv[0], 'Headers are not equal'
assert ( assert (
fixture_csv[1][:29] == export_csv[1][:29] fixture_csv[1][:32] == export_csv[1][:32]
), 'Computer information are not equal' ), 'Computer information are not equal'
assert fixture_csv[1][30] == export_csv[1][30], 'Computer information are not equal' assert fixture_csv[1][33] == export_csv[1][33], 'Computer information are not equal'
assert ( assert (
fixture_csv[1][32:93] == export_csv[1][32:93] fixture_csv[1][35:96] == export_csv[1][35:96]
), 'Computer information are not equal' ), 'Computer information are not equal'
assert fixture_csv[1][94] == export_csv[1][94], 'Computer information are not equal' assert fixture_csv[1][97] == export_csv[1][97], 'Computer information are not equal'
assert ( assert (
fixture_csv[1][98:] == export_csv[1][98:] fixture_csv[1][101:] == export_csv[1][101:]
), 'Computer information are not equal' ), 'Computer information are not equal'