Change to project/trunk,tags,branches style

This commit is contained in:
Faik Uygur
2009-10-14 12:42:24 +00:00
commit 54e89f07b4
1121 changed files with 136747 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import unittest
import pisi.relation
class HistoryTestCase(unittest.TestCase):
def testCreate(self):
history = pisi.history.History()
operation = 'upgrade'
history.create(operation)
history.create('install')
history.create('snapshot')
def testGetLatest(self):
history = pisi.history.History()
history.read('history/001_upgrade.xml')
assert not '099' == history._get_latest()
history.read('history/002_remove.xml')
assert not '099' == history._get_latest()