[devtools] skip CubicWebServerTC on python3
People should migrate to wsgi if they're going to use CubicWeb on
python3.
--- a/cubicweb/devtools/httptest.py Mon Feb 08 16:10:51 2016 +0100
+++ b/cubicweb/devtools/httptest.py Wed Feb 24 17:34:56 2016 +0100
@@ -26,6 +26,7 @@
import threading
import socket
+from six import PY3
from six.moves import range, http_client
from six.moves.urllib.parse import urlparse
@@ -132,6 +133,8 @@
class CubicWebServerTC(_CubicWebServerTC):
def start_server(self):
+ if PY3:
+ self.skipTest('not using twisted on python3')
from twisted.internet import reactor
from cubicweb.etwist.server import run
# use a semaphore to avoid starting test while the http server isn't