Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/323516

Change subject: test: set message for test_zuul_project_in_gerrit
......................................................................

test: set message for test_zuul_project_in_gerrit

The AssertionError lacked a description.

Change-Id: I702912b2bd486cd25f026c449b71b7d4e27eb924
---
M tests/test_zuul_project_in_gerrit.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/config 
refs/changes/16/323516/1

diff --git a/tests/test_zuul_project_in_gerrit.py 
b/tests/test_zuul_project_in_gerrit.py
index 637e270..757fac7 100644
--- a/tests/test_zuul_project_in_gerrit.py
+++ b/tests/test_zuul_project_in_gerrit.py
@@ -32,4 +32,5 @@
 
 
 def is_in_gerrit(zuul_project):
-    assert zuul_project in GERRIT_REPOS
+    msg = "Project configured in Zuul is not in Gerrit: %s" % (zuul_project)
+    assert zuul_project in GERRIT_REPOS, msg

-- 
To view, visit https://gerrit.wikimedia.org/r/323516
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I702912b2bd486cd25f026c449b71b7d4e27eb924
Gerrit-PatchSet: 1
Gerrit-Project: integration/config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to