goa/test/unittest_rql.py
branchtls-sprint
changeset 1398 5fe84a5f7035
parent 0 b97547f5f1fa
child 1802 d628defebc17
--- a/goa/test/unittest_rql.py	Fri Apr 17 13:21:05 2009 +0200
+++ b/goa/test/unittest_rql.py	Fri Apr 17 16:55:37 2009 +0200
@@ -566,13 +566,13 @@
         self.assertEquals(rset.rows, [[article2.eid]])
         
     def test_8_not_relation_final_1(self):
-        rset = self.req.execute('Any G WHERE G is EGroup, NOT G name "guests"')
+        rset = self.req.execute('Any G WHERE G is CWGroup, NOT G name "guests"')
         self._check_rset_size(rset, 2, 1)
         self.assertUnorderedIterableEquals([g.name for g in rset.entities()],
                                            ['users', 'managers'])        
         
     def test_8_not_relation_final_2(self):
-        rset = self.req.execute('Any GN WHERE G is EGroup, NOT G name "guests", G name GN')
+        rset = self.req.execute('Any GN WHERE G is CWGroup, NOT G name "guests", G name GN')
         self._check_rset_size(rset, 2, 1)
         self.assertUnorderedIterableEquals([gn for gn, in rset.rows],
                                            ['users', 'managers'])