Giuseppe Lavagetto has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/354617 )

Change subject: Set empty PYTHONPATH in tox.ini
......................................................................

Set empty PYTHONPATH in tox.ini

Our jenkins instance is not actually running any pybal tests. The reason
is that we're using `trial pybal` in tox.ini and funnily enough trial
requires PYTHONPATH to be set (even if it is set to an empty string) or
else it won't manage to find any tests and just pretend everything is
fine, claiming the tests have passed.

Change-Id: I6541a8384bd8284bcc76adec04c6e2d2febecda1
Ref: 
http://stackoverflow.com/questions/42425901/twisted-trial-pythonpath-and-sys-path
(cherry picked from commit 76e90a1e2f44c3b1885dc4e7383204ce8feb5046)
---
M tox.ini
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/pybal 
refs/changes/17/354617/1

diff --git a/tox.ini b/tox.ini
index 095c4e4..3de1bc3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,9 @@
 envlist = py27, flake8
 
 [testenv]
+setenv =
+  PYTHONPATH=
+
 commands = trial pybal
 deps =
   twisted

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6541a8384bd8284bcc76adec04c6e2d2febecda1
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/pybal
Gerrit-Branch: 2.0-dev
Gerrit-Owner: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Ema <e...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to