sobjects/test/data/sobjects/__init__.py
changeset 5877 0c7b7b76a84f
parent 5424 8ecbcbff9777
child 8190 2a3c1b787688
--- 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')