fix test for new jsons

This commit is contained in:
Cayo Puigdefabregas 2022-04-01 18:27:19 +02:00
parent 09ba81e92d
commit 77a35ec1a3
3 changed files with 1180 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -961,7 +961,8 @@ def test_snapshot_wb_lite(user: UserClient):
"""This test check the minimum validation of json that come from snapshot"""
# snapshot = file_json("example_wb14_x1.json")
snapshot = file_json("2022-03-31_17h18m51s_ZQMPKKX51K67R68VO2X9RNZL08JPL_snapshot.json")
# snapshot = file_json("2022-03-31_17h18m51s_ZQMPKKX51K67R68VO2X9RNZL08JPL_snapshot.json")
snapshot = file_json("2022-04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json")
body, res = user.post(snapshot, res=Snapshot)
ssd = [x for x in body['components'] if x['type'] == 'SolidStateDrive'][0]