equal
deleted
inserted
replaced
513 self.commit() |
513 self.commit() |
514 # can change tr info comment |
514 # can change tr info comment |
515 self.execute('SET TI comment %(c)s WHERE TI wf_info_for X, X ref "ARCT01"', |
515 self.execute('SET TI comment %(c)s WHERE TI wf_info_for X, X ref "ARCT01"', |
516 {'c': u'creation'}) |
516 {'c': u'creation'}) |
517 self.commit() |
517 self.commit() |
|
518 aff.clear_related_cache('wf_info_for', 'object') |
518 self.assertEquals(aff.latest_trinfo().comment, 'creation') |
519 self.assertEquals(aff.latest_trinfo().comment, 'creation') |
519 # but not from_state/to_state |
520 # but not from_state/to_state |
520 self.execute('SET X in_state S WHERE X ref "ARCT01", S name "ben non"') |
521 self.execute('SET X in_state S WHERE X ref "ARCT01", S name "ben non"') |
521 self.commit() |
522 self.commit() |
522 aff.clear_related_cache('wf_info_for', role='object') |
523 aff.clear_related_cache('wf_info_for', role='object') |