This isn't really an "issue" I suppose, but are we sure we want to break everybody like this?
======================================================================
ERROR: test_require_once_rendering (tests.test_resources.TestRequiredOnceJavascript)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_resources.py", line 664, in test_require_once_rendering
res = app.get("/toscawidgets/resources/tw_require_once/SomeJavascript.js")
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1001, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1122, in get_response
application, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 173, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/tw/core/registry.py", line 361, in __call__
app_iter = self.application(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 46, in __call__
return self.wsgi_app(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 68, in wsgi_app
resp = req.get_response(resources_app)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 179, in __call__
resp = self.serve_file(req)
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 184, in serve_file
stream, ct, enc = self.get_stream_type_encoding(req)
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 218, in get_stream_type_encoding
stream = _JavascriptFileIter(modname, relative_path, require_once, stream, self.bufsize)
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 267, in __init__
self.marker_name = self._marker_name(modname, path)
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 286, in _marker_name
return "_".join((cls.escape(modname), cls.escape(path)))
File "/home/chrism/projects/ToscaWidgets/tw/core/resources.py", line 295, in escape
return s.translate(cls.TRANSLATION_TABLE)
TypeError: character mapping must return integer, None or unicode
======================================================================
ERROR: test_full_response_content (tests.test_wsgiapps.TestWSGIApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_wsgiapps.py", line 28, in test_full_response_content
response = self.app.get('/')
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1001, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1122, in get_response
application, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 173, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/tw/core/registry.py", line 361, in __call__
app_iter = self.application(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 46, in __call__
return self.wsgi_app(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 72, in wsgi_app
resp = req.get_response(self.application)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/resource_injector.py", line 70, in _injector
resp = req.get_response(app)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/examples/wsgi_app.py", line 46, in app
resp = Response(request=req, content_type="text/html; charset=UTF8")
File "/home/chrism/projects/webob/webob/response.py", line 140, in __init__
setattr(self, name, value)
File "/home/chrism/projects/webob/webob/descriptors.py", line 89, in fset
warn()
File "/home/chrism/projects/webob/webob/descriptors.py", line 83, in warn
3
File "/home/chrism/projects/webob/webob/util.py", line 51, in warn_deprecation
raise DeprecationWarning(text)
DeprecationWarning: The attribute request is deprecated: Response.request will be removed completely in 1.4
======================================================================
ERROR: test_links_are_fetchable (tests.test_wsgiapps.TestWSGIApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_wsgiapps.py", line 39, in test_links_are_fetchable
response = self.app.get('/')
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1001, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1122, in get_response
application, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 173, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/tw/core/registry.py", line 361, in __call__
app_iter = self.application(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 46, in __call__
return self.wsgi_app(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 72, in wsgi_app
resp = req.get_response(self.application)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/resource_injector.py", line 70, in _injector
resp = req.get_response(app)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/examples/wsgi_app.py", line 46, in app
resp = Response(request=req, content_type="text/html; charset=UTF8")
File "/home/chrism/projects/webob/webob/response.py", line 140, in __init__
setattr(self, name, value)
File "/home/chrism/projects/webob/webob/descriptors.py", line 89, in fset
warn()
File "/home/chrism/projects/webob/webob/descriptors.py", line 83, in warn
3
File "/home/chrism/projects/webob/webob/util.py", line 51, in warn_deprecation
raise DeprecationWarning(text)
DeprecationWarning: The attribute request is deprecated: Response.request will be removed completely in 1.4
======================================================================
ERROR: test_resources_included (tests.test_wsgiapps.TestWSGIApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_wsgiapps.py", line 23, in test_resources_included
response = self.app.get('/')
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1001, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1122, in get_response
application, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 173, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/tw/core/registry.py", line 361, in __call__
app_iter = self.application(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 46, in __call__
return self.wsgi_app(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 72, in wsgi_app
resp = req.get_response(self.application)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/resource_injector.py", line 70, in _injector
resp = req.get_response(app)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/examples/wsgi_app.py", line 46, in app
resp = Response(request=req, content_type="text/html; charset=UTF8")
File "/home/chrism/projects/webob/webob/response.py", line 140, in __init__
setattr(self, name, value)
File "/home/chrism/projects/webob/webob/descriptors.py", line 89, in fset
warn()
File "/home/chrism/projects/webob/webob/descriptors.py", line 83, in warn
3
File "/home/chrism/projects/webob/webob/util.py", line 51, in warn_deprecation
raise DeprecationWarning(text)
DeprecationWarning: The attribute request is deprecated: Response.request will be removed completely in 1.4
======================================================================
ERROR: test_scripts_are_fetchable (tests.test_wsgiapps.TestWSGIApp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_wsgiapps.py", line 32, in test_scripts_are_fetchable
response = self.app.get('/')
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1001, in do_request
res = req.get_response(app, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1122, in get_response
application, catch_exc_info=True)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 173, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/tw/core/registry.py", line 361, in __call__
app_iter = self.application(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 46, in __call__
return self.wsgi_app(environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/middleware.py", line 72, in wsgi_app
resp = req.get_response(self.application)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/projects/ToscaWidgets/tw/core/resource_injector.py", line 70, in _injector
resp = req.get_response(app)
File "/home/chrism/projects/webob/webob/request.py", line 1126, in get_response
application, catch_exc_info=False)
File "/home/chrism/projects/webob/webob/request.py", line 1095, in call_application
app_iter = application(self.environ, start_response)
File "/home/chrism/opt/Python-2.7.2/lib/python2.7/wsgiref/validate.py", line 176, in lint_app
iterator = application(environ, start_response_wrapper)
File "/home/chrism/projects/ToscaWidgets/examples/wsgi_app.py", line 46, in app
resp = Response(request=req, content_type="text/html; charset=UTF8")
File "/home/chrism/projects/webob/webob/response.py", line 140, in __init__
setattr(self, name, value)
File "/home/chrism/projects/webob/webob/descriptors.py", line 89, in fset
warn()
File "/home/chrism/projects/webob/webob/descriptors.py", line 83, in warn
3
File "/home/chrism/projects/webob/webob/util.py", line 51, in warn_deprecation
raise DeprecationWarning(text)
DeprecationWarning: The attribute request is deprecated: Response.request will be removed completely in 1.4
======================================================================
FAIL: test_callback_authorization (tests.test_serverside_callbacks.TestServersideCallbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_serverside_callbacks.py", line 107, in test_callback_authorization
urls = self.app.get("/").body
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1011, in do_request
res.body
File "/home/chrism/projects/webob/webob/response.py", line 322, in _body__get
body = b''.join(app_iter)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 284, in next
% (self.iterator, v))
AssertionError: Iterator <listiterator object at 0x2c864d0> returned a non-str object: u'/toscawidgets/resources/__callback__/allowed_widget/test_callback,/toscawidgets/resources/__callback__/denied_widget/test_callback'
======================================================================
FAIL: test_callback_parameter (tests.test_serverside_callbacks.TestServersideCallbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_serverside_callbacks.py", line 140, in test_callback_parameter
allowed_url = self.app.get("/").body
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1011, in do_request
res.body
File "/home/chrism/projects/webob/webob/response.py", line 322, in _body__get
body = b''.join(app_iter)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 284, in next
% (self.iterator, v))
AssertionError: Iterator <listiterator object at 0x2cf8e10> returned a non-str object: u'/toscawidgets/resources/__callback__/allowed_widget/test_callback'
======================================================================
FAIL: test_callback_registry (tests.test_serverside_callbacks.TestServersideCallbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/chrism/projects/ToscaWidgets/tests/test_serverside_callbacks.py", line 60, in test_callback_registry
url = self.app.get("/").body
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 757, in get
expect_errors=expect_errors)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/app.py", line 1011, in do_request
res.body
File "/home/chrism/projects/webob/webob/response.py", line 322, in _body__get
body = b''.join(app_iter)
File "/home/chrism/projects/ToscaWidgets/WebTest-1.3.1-py2.7.egg/webtest/lint.py", line 284, in next
% (self.iterator, v))
AssertionError: Iterator <listiterator object at 0x2cf8fd0> returned a non-str object: u'/toscawidgets/resources/__callback__/test_widget/test_callback'
----------------------------------------------------------------------
Ran 281 tests in 2.396s
FAILED (failures=3, errors=5)