[telepathy-gabble/master] allow forcing test output colouring
Dafydd Harries
dafydd.harries at collabora.co.uk
Mon Sep 21 06:57:20 PDT 2009
---
tests/twisted/gabbletest.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/twisted/gabbletest.py b/tests/twisted/gabbletest.py
index 24ed95f..e1bfe21 100644
--- a/tests/twisted/gabbletest.py
+++ b/tests/twisted/gabbletest.py
@@ -361,7 +361,7 @@ def exec_test_deferred(fun, params, protocol=None, timeout=None,
domish.Element.__repr__ = domish.Element.toXml
colourer = None
- if sys.stdout.isatty():
+ if sys.stdout.isatty() or 'CHECK_FORCE_COLOR' in os.environ:
colourer = servicetest.install_colourer()
queue = servicetest.IteratingEventQueue(timeout)
--
1.5.6.5
More information about the telepathy-commits
mailing list