From fb8830e97fc684e6c3cc834887c8cffdbcc5c87e Mon Sep 17 00:00:00 2001 From: Jan Range Date: Sat, 2 Dec 2023 13:29:36 +0100 Subject: [PATCH] check dv version env --- .github/workflows/scripts/test_dataverse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/scripts/test_dataverse.py b/.github/workflows/scripts/test_dataverse.py index 7665bb6..4302849 100644 --- a/.github/workflows/scripts/test_dataverse.py +++ b/.github/workflows/scripts/test_dataverse.py @@ -36,11 +36,13 @@ def test_info(self): code is 200 and the 'status' field in the response JSON is 'OK'. """ + DV_VERSION = os.getenv("DV_VERSION") url = self.construct_url("api/info/version") response = requests.get(url) assert response.status_code == 200, response.text assert response.json()["status"] == "OK" + assert response.json()["data"]["version"] == DV_VERSION def test_metadatablocks(self): """