[cc-commits] [SCM] cc.engine: License chooser, public domain chooser, deeds (branch chooser_remix) updated. 62b09ca7db4a023283f03580a8cad721a410d6f8

Gitosis User git at gandi0.creativecommons.org
Mon Apr 23 15:44:29 EDT 2012

The branch, chooser_remix has been updated
       via  62b09ca7db4a023283f03580a8cad721a410d6f8 (commit)
      from  e07027195d5d8e7e2def3558b9230c512d38360c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 62b09ca7db4a023283f03580a8cad721a410d6f8
Author: Jonathan Palecek <jonathan at creativecommons.org>
Date:   Mon Apr 23 14:44:13 2012 -0500

    added DISPLAY env variable to phantomjs subprocess


Summary of changes (followed by patch):
 cc/engine/tests/test_js.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cc/engine/tests/test_js.py b/cc/engine/tests/test_js.py
index 0d047ad..58c6c52 100644
--- a/cc/engine/tests/test_js.py
+++ b/cc/engine/tests/test_js.py
@@ -191,6 +191,7 @@ def jstest(url, test, ignore=None, noscript=False):
     proc = subprocess.Popen(["phantomjs", "--disk-cache=yes", 
                              jstest_loader(noscript), url, path],
+                            env={"DISPLAY" : ":0"},
     out = proc.communicate()[0].strip()
     if out.count("ERROR")>0:

cc.engine: License chooser, public domain chooser, deeds

More information about the cc-commits mailing list