equal
deleted
inserted
replaced
126 e = self.execute('Any X WHERE X eid %(x)s', {'x': user.eid}).get_entity(0, 0) |
126 e = self.execute('Any X WHERE X eid %(x)s', {'x': user.eid}).get_entity(0, 0) |
127 self.assertEquals(e.login, user.login) |
127 self.assertEquals(e.login, user.login) |
128 self.assertEquals(e.firstname, u'Th\xe9nault') |
128 self.assertEquals(e.firstname, u'Th\xe9nault') |
129 self.assertEquals(e.surname, u'Sylvain') |
129 self.assertEquals(e.surname, u'Sylvain') |
130 self.assertEquals([g.eid for g in e.in_group], groupeids) |
130 self.assertEquals([g.eid for g in e.in_group], groupeids) |
131 self.assertEquals(e.state, 'activated') |
131 self.assertEquals(e.cw_adapt_to('IWorkflowable').state, 'activated') |
132 |
132 |
133 |
133 |
134 def test_create_multiple_linked(self): |
134 def test_create_multiple_linked(self): |
135 gueid = self.execute('CWGroup G WHERE G name "users"')[0][0] |
135 gueid = self.execute('CWGroup G WHERE G name "users"')[0][0] |
136 req = self.request() |
136 req = self.request() |