From 7d363ece174d5c814ef043e24ccc9a32ee1b2079 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 10 Nov 2022 12:25:31 +0100 Subject: Test CI: tag to disable a test --- Makefile.example | 2 +- archaeological_operations/tests.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.example b/Makefile.example index e128e3015..98ff2ecd9 100644 --- a/Makefile.example +++ b/Makefile.example @@ -107,7 +107,7 @@ build_gitlab: clean collectstatic makemessages ## specific build for gitlab cd $(project); $(PYTHON) ./manage.py migrate test_gitlab: clean collectstatic makemessages ## specific test for gitlab - cd $(project); $(PYTHON) manage.py test --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) + cd $(project); $(PYTHON) manage.py test --exclude-tag no_ci --exclude-tag gis --exclude-tag ui --exclude-tag libreoffice $(apps) soft_test_gitlab: build_gitlab cd $(project); $(PYTHON) manage.py -k test $(apps) diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index cd2616240..4adda7b19 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -4730,6 +4730,7 @@ class ApiTest(OperationInitTest, APITestCase): attr += f"{k}={url_quote(value)}" return attr + @tag("no_ci") @patch("requests.get") def test_query_transformation(self, mock_get): # POV: external -- cgit v1.2.3