equal
deleted
inserted
replaced
277 self.assertEquals(self.member.state, 'activated')# no change before commit |
277 self.assertEquals(self.member.state, 'activated')# no change before commit |
278 self.commit() |
278 self.commit() |
279 self.member.clear_all_caches() |
279 self.member.clear_all_caches() |
280 self.assertEquals(self.member.current_workflow.eid, wf.eid) |
280 self.assertEquals(self.member.current_workflow.eid, wf.eid) |
281 self.assertEquals(self.member.state, 'asleep') |
281 self.assertEquals(self.member.state, 'asleep') |
282 self.assertEquals(self.member.workflow_history, []) |
282 self.assertEquals(self.member.workflow_history, ()) |
283 |
283 |
284 def test_custom_wf_replace_state_keep_history(self): |
284 def test_custom_wf_replace_state_keep_history(self): |
285 """member in inital state with some history, state is redirected and |
285 """member in inital state with some history, state is redirected and |
286 state change is recorded to history |
286 state change is recorded to history |
287 """ |
287 """ |