From 04e11586bfe45fafdfcd49d08ad68a3f4fe5da5e Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 8 Apr 2022 11:36:39 +0200 Subject: [PATCH] add schema_version to tests lite --- ...04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json | 3 ++- tests/test_snapshot.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/files/2022-04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json b/tests/files/2022-04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json index 59289cc6..f33f2988 100644 --- a/tests/files/2022-04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json +++ b/tests/files/2022-04-01_06h28m54s_YKPZ27NJ2NMRO4893M4L5NRZV5YJ1_snapshot.json @@ -5,6 +5,7 @@ "wbid": "YKPZ27NJ2NMRO4893M4L5NRZV5YJ1", "software": "Workbench", "version": "2022.03.00", + "schema_version": "V1", "data": { "lshw": { "id": "wb", @@ -1174,4 +1175,4 @@ } ] } -} \ No newline at end of file +} diff --git a/tests/test_snapshot.py b/tests/test_snapshot.py index 1127d6d7..5979d4a5 100644 --- a/tests/test_snapshot.py +++ b/tests/test_snapshot.py @@ -1021,6 +1021,7 @@ def test_snapshot_wb_lite_old_snapshots(user: UserClient): 'wbid': 'MLKO1', 'software': 'Workbench', 'version': '2022.03.00', + "schema_version": "V1", 'data': { 'lshw': lshw, 'hwinfo': hwinfo, @@ -1079,6 +1080,7 @@ def test_snapshot_errors(user: UserClient): 'wbid': 'MLKO1', 'software': 'Workbench', 'version': '2022.03.00', + "schema_version": "V1", 'data': { 'lshw': lshw, 'hwinfo': hwinfo,