Commit 69e13d60 authored by Julien Muchembled's avatar Julien Muchembled

Fix testBusinessTemplate

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44067 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6a5ecb38
......@@ -192,6 +192,9 @@ class WorkingCopy(Implicit):
bta = BusinessTemplateWorkingCopy(creation=1)
self.addremove(*bta.export(business_template))
def showOld(self, path):
raise NotAWorkingCopyError
def newRevision(self):
path = os.path.join('bt', 'revision')
revision = int(self.showOld(path)) + 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment