Example #1
0
 def test_excluded_column(self):
     article = self.Article(content=u'Some content')
     assert not is_modified(article)
Example #2
0
 def test_auto_assigned_datetime_exclusion(self):
     article = self.Article(created_at=datetime.now())
     assert not is_modified(article)
Example #3
0
 def test_included_column(self):
     article = self.Article(name=u'Some article')
     assert is_modified(article)