예제 #1
0
 def test_callback_not_called_on_modification_with_non_interest_attr(self):
     new_instance = TagFactory()
     new_instance.label = 'modified'
     new_instance.save()
     # content is not watched thus callback should not be called
     self.assertFalse(self.callback.called)
예제 #2
0
 def test_callback_not_called_on_modification_with_non_interest_attr(self):
     new_instance = TagFactory()
     new_instance.label = 'modified'
     new_instance.save()
     # content is not watched thus callback should not be called
     self.assertFalse(self.callback.called)