summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-11-10 12:25:31 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:19 +0100
commitec9b48a33889048a038030fc8128ee4526d1935b (patch)
tree651d0e165f1af9db388d8c4f8eb629f31c1bc32a
parent31691cfe848847af6188a2a4e2965d98f8429402 (diff)
downloadIshtar-ec9b48a33889048a038030fc8128ee4526d1935b.tar.bz2
Ishtar-ec9b48a33889048a038030fc8128ee4526d1935b.zip
Test CI: tag to disable a test
-rw-r--r--Makefile.example2
-rw-r--r--archaeological_operations/tests.py1
2 files changed, 2 insertions, 1 deletions
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