Exemple #1
0
 def test_with_versioned_class(self):
     assert tx_column_name(
         self.Article) == self.options['transaction_column_name']
 def test_with_versioned_class(self):
     assert tx_column_name(self.Article) == self.options[
         'transaction_column_name'
     ]
Exemple #3
0
 def test_with_version_obj(self):
     history_obj = version_class(self.Article)()
     assert tx_column_name(
         history_obj) == self.options['transaction_column_name']
 def test_with_version_obj(self):
     history_obj = version_class(self.Article)()
     assert tx_column_name(history_obj) == self.options[
         'transaction_column_name'
     ]