diff -r 7347715bf0ee -r 59d4ad7e7df3 cubicweb/web/test/unittest_idownloadable.py --- a/cubicweb/web/test/unittest_idownloadable.py Sat Feb 15 17:08:15 2020 +0100 +++ b/cubicweb/web/test/unittest_idownloadable.py Sat Feb 08 22:57:59 2020 +0100 @@ -23,12 +23,12 @@ from pytz import utc from cubicweb.devtools.testlib import CubicWebTC, real_error_handling -from cubicweb import view +from cubicweb.entity import EntityAdapter from cubicweb.predicates import is_instance from cubicweb.web import http_headers -class IDownloadableUser(view.EntityAdapter): +class IDownloadableUser(EntityAdapter): __regid__ = 'IDownloadable' __select__ = is_instance('CWUser')