============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-webtest/src/WebTest-3.0.0, configfile: setup.cfg collected 200 items tests/test_app.py ........................................... [ 21%] tests/test_authorisation.py ... [ 23%] tests/test_debugapp.py .....F................ [ 34%] tests/test_ext.py . [ 34%] tests/test_forms.py ................................................... [ 60%] tests/test_http.py .... [ 62%] tests/test_lint.py ............................ [ 76%] tests/test_response.py ............................ [ 90%] tests/test_sel.py . [ 90%] tests/test_utils.py .................. [ 99%] webtest/forms.py . [100%] =================================== FAILURES =================================== ____________________ TestTesting.test_app_from_config_file _____________________ self = def test_app_from_config_file(self): config = os.path.join(os.path.dirname(__file__), 'deploy.ini') > app = webtest.TestApp('config:%s#main' % config) tests/test_debugapp.py:101: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = app = 'config:/build/python-webtest/src/WebTest-3.0.0/tests/deploy.ini#main' extra_environ = None, relative_to = None, use_unicode = True, cookiejar = None parser_features = None, json_encoder = None, lint = True def __init__(self, app, extra_environ=None, relative_to=None, use_unicode=True, cookiejar=None, parser_features=None, json_encoder=None, lint=True): if 'WEBTEST_TARGET_URL' in os.environ: app = os.environ['WEBTEST_TARGET_URL'] if isinstance(app, str): if app.startswith('http'): try: from wsgiproxy import HostProxy except ImportError: # pragma: no cover raise ImportError( 'Using webtest with a real url requires WSGIProxy2. ' 'Please install it with: ' 'pip install WSGIProxy2') if '#' not in app: app += '#httplib' url, client = app.split('#', 1) app = HostProxy(url, client=client) else: > from paste.deploy import loadapp E ModuleNotFoundError: No module named 'paste' webtest/app.py:161: ModuleNotFoundError =========================== short test summary info ============================ FAILED tests/test_debugapp.py::TestTesting::test_app_from_config_file - Modul... ======================== 1 failed, 199 passed in 12.19s ======================== ==> ERROR: A failure occurred in check().  Aborting...