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
commit7d363ece174d5c814ef043e24ccc9a32ee1b2079 (patch)
tree651d0e165f1af9db388d8c4f8eb629f31c1bc32a
parent287e7bbe2489e86bf6420e445a2b804236ee978c (diff)
downloadIshtar-7d363ece174d5c814ef043e24ccc9a32ee1b2079.tar.bz2
Ishtar-7d363ece174d5c814ef043e24ccc9a32ee1b2079.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