[Python-modules-commits] [txfixtures] 05/05: skip-phantomjs-tests

Free Ekanayaka freee at moszumanska.debian.org
Thu Feb 2 09:42:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch patch-queue/master
in repository txfixtures.

commit 345ee01d950f7491fa71061bb232ab0ef2252e7e
Author: Free Ekanayaka <freee at debian.org>
Date:   Thu Feb 2 09:35:44 2017 +0000

    skip-phantomjs-tests
    
    Skip PhantomJS tests since the phantomjs package in Debian does
    not support running headless.
---
 tests/test_phantomjs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_phantomjs.py b/tests/test_phantomjs.py
index 64b6233..be4a2a6 100644
--- a/tests/test_phantomjs.py
+++ b/tests/test_phantomjs.py
@@ -1,4 +1,4 @@
-from unittest import skipIf
+from unittest import skip
 
 from testtools import TestCase
 
@@ -28,7 +28,7 @@ class PhantomJSIntegrationTest(TestCase):
 
         self.fixture = PhantomJS(timeout=5)
 
-    @skipIf(not hasTwist, "twist executable not available")
+    @skip("Debian's phantomjs can't run headless")
     def test_webdriver(self):
         """After setUp is run, the service is fully ready."""
         self.useFixture(self.fixture)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/txfixtures.git



More information about the Python-modules-commits mailing list