change test for new csv
This commit is contained in:
parent
20f2300ce1
commit
4847bdd19d
File diff suppressed because one or more lines are too long
|
@ -194,6 +194,12 @@
|
|||
"type": "StepRandom",
|
||||
"severity": "Info",
|
||||
"endTime": "2019-08-19T17:34:22.930562+00:00"
|
||||
},
|
||||
{
|
||||
"startTime": "2019-08-19T17:34:22.690458+00:00",
|
||||
"type": "StepZero",
|
||||
"severity": "Info",
|
||||
"endTime": "2019-08-19T18:34:22.930562+00:00"
|
||||
}
|
||||
],
|
||||
"severity": "Info",
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -101,6 +101,7 @@ def test_export_basic_snapshot(user: UserClient):
|
|||
|
||||
assert fixture_csv[0] == export_csv[0], 'Headers are not equal'
|
||||
assert fixture_csv[1][:17] == export_csv[1][:17], 'Computer information are not equal'
|
||||
assert fixture_csv[1][18] == export_csv[1][18], 'Computer information are not equal'
|
||||
assert fixture_csv[1][20:] == export_csv[1][20:], 'Computer information are not equal'
|
||||
|
||||
@pytest.mark.mvp
|
||||
|
@ -136,9 +137,19 @@ def test_export_extended(app: Devicehub, user: UserClient):
|
|||
|
||||
assert fixture_csv[0] == export_csv[0], 'Headers are not equal'
|
||||
assert fixture_csv[1][:17] == export_csv[1][:17], 'Computer information are not equal'
|
||||
assert fixture_csv[1][20:80] == export_csv[1][20:80], 'Computer information are not equal'
|
||||
assert fixture_csv[1][18] == export_csv[1][18], 'Computer information are not equal'
|
||||
assert fixture_csv[1][20:79] == export_csv[1][20:79], 'Computer information are not equal'
|
||||
assert fixture_csv[1][80] == export_csv[1][80], 'Computer information are not equal'
|
||||
assert fixture_csv[1][83:] == export_csv[1][83:], 'Computer information are not equal'
|
||||
assert fixture_csv[2][:17] == export_csv[2][:17], 'Computer information are not equal'
|
||||
assert fixture_csv[2][20:80] == export_csv[2][20:80], 'Computer information are not equal'
|
||||
assert fixture_csv[2][18] == export_csv[2][18], 'Computer information are not equal'
|
||||
assert fixture_csv[2][20:79] == export_csv[2][20:79], 'Computer information are not equal'
|
||||
assert fixture_csv[2][80] == export_csv[2][80], 'Computer information are not equal'
|
||||
assert fixture_csv[2][83:103] == export_csv[2][83:103], 'Computer information are not equal'
|
||||
assert fixture_csv[2][104] == export_csv[2][104], 'Computer information are not equal'
|
||||
assert fixture_csv[2][107:127] == export_csv[2][107:127], 'Computer information are not equal'
|
||||
assert fixture_csv[2][128] == export_csv[2][128], 'Computer information are not equal'
|
||||
assert fixture_csv[2][131:] == export_csv[2][131:], 'Computer information are not equal'
|
||||
|
||||
|
||||
@pytest.mark.mvp
|
||||
|
|
Reference in New Issue