From 1ede027f458bc1df064620d71ea8cb0a7a6c7bec Mon Sep 17 00:00:00 2001 From: EvaBardou <bardou@teklia.com> Date: Thu, 19 Dec 2024 12:23:23 +0100 Subject: [PATCH] Update blob references in unit tests to fix the CI --- .gitignore | 1 + tests/test_models.py | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ea3bf03..1287c57 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc *.egg-info/ +.tox/ diff --git a/tests/test_models.py b/tests/test_models.py index 7bfb92c..c1eb4d1 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -6,6 +6,8 @@ from pytest_lazy_fixtures import lf as lazy_fixture from doc_ufcn import models +BLOB_REFERENCE = "0bdb94c369a902c0f7ffa864d744afa00128308c" + @pytest.mark.parametrize( ("name", "version", "expected_model_path", "expected_parameters", "correct_name"), @@ -22,7 +24,7 @@ from doc_ufcn import models / "doc-ufcn-generic-page" / "models--Teklia--doc-ufcn-generic-page" / "snapshots" - / "21f246af42990ca668e3c2bad69c6e4ae727a0cd" + / BLOB_REFERENCE ), lazy_fixture("test_parameters"), True, @@ -41,7 +43,7 @@ from doc_ufcn import models / "doc-ufcn-generic-page" / "models--Teklia--doc-ufcn-generic-page" / "snapshots" - / "21f246af42990ca668e3c2bad69c6e4ae727a0cd" + / BLOB_REFERENCE ), lazy_fixture("test_parameters"), True, -- GitLab