--- a/sobjects/test/data/sobjects/__init__.py Fri Jul 02 19:14:48 2010 +0200
+++ b/sobjects/test/data/sobjects/__init__.py Mon Jul 05 12:04:32 2010 +0200
@@ -15,11 +15,9 @@
#
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
-"""
-"""
-from cubicweb.selectors import implements
+from cubicweb.selectors import is_instance
from cubicweb.sobjects.notification import StatusChangeMixIn, NotificationView
class UserStatusChangeView(StatusChangeMixIn, NotificationView):
- __select__ = NotificationView.__select__ & implements('CWUser')
+ __select__ = NotificationView.__select__ & is_instance('CWUser')