Commit 39809606 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[test] Use a WSGI cubicweb server

We replace CubicWebServerTC, which uses Twisted, by CubicWebWsgiTC.
In particular, the latter will work on Python 3 whereas this is not
supported in the former.
parent 4b8a7b178b86
......@@ -18,10 +18,10 @@ import json
import urlparse
import requests
from cubicweb.devtools.httptest import CubicWebServerTC
from cubicweb.devtools.httptest import CubicWebWsgiTC
class RqlIOTC(CubicWebServerTC):
class RqlIOTC(CubicWebWsgiTC):
def setup_database(self):
with self.admin_access.client_cnx() as cnx:
......@@ -5,7 +5,6 @@ envlist = py27,flake8
deps =
Twisted < 16.0.0
commands =
{envpython} -m pytest test {posargs}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment