]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Sep 2005 05:48:09 +0000 (05:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Sep 2005 05:48:09 +0000 (05:48 +0000)
test/historyarray.py

index bd5c81ad9bf4813f8d0b6470298d99517738440e..9fc270432b2115985e96bfc1b886993befc767f2 100644 (file)
@@ -12,7 +12,7 @@ class HistoryArrayTest(PersistTest):
     def testremove(self):
         a = util.HistoryArraySet()
         a.append('hi')
-        a.clear_history()
+        a.commit()
         self.assert_(a == ['hi'])
         self.assert_(a.added_items() == [])
         a.remove('hi')
@@ -30,7 +30,7 @@ class HistoryArrayTest(PersistTest):
     def testaddedremoved(self):
         a = util.HistoryArraySet()
         a.append('hi')
-        a.clear_history()
+        a.commit()
         a.remove('hi')
         self.assert_(a.deleted_items() == ['hi'])
         a.append('hi')
@@ -43,7 +43,7 @@ class HistoryArrayTest(PersistTest):
         a.append('hi')
         a.append('there')
         a.append('yo')
-        a.clear_history()
+        a.commit()
         before = repr(a.data)
         print repr(a.data)
         a.remove('there')