Exemplo n.º 1
0
 def test_set_attr_seq(self):
     change = Change(id='id', sequence_id='seq')
     self.assertEqual('seq', change.sequence_id)
     change.sequence_id = 'seq-2'
     self.assertEqual('seq-2', change.sequence_id)
     self.assertEqual('seq-2', change.to_dict()['seq'])
Exemplo n.º 2
0
 def test_set_attr_seq(self):
     change = Change(id='id', sequence_id='seq')
     self.assertEqual('seq', change.sequence_id)
     change.sequence_id = 'seq-2'
     self.assertEqual('seq-2', change.sequence_id)
     self.assertEqual('seq-2', change.to_dict()['seq'])