Added a SAP connector and integrated the test system with coverage.py

This commit is contained in:
Gaetan Delannay 2009-12-01 20:36:59 +01:00
parent b541ecb651
commit 01487db688
8 changed files with 450 additions and 115 deletions

View file

@ -1,6 +1,5 @@
# ------------------------------------------------------------------------------
class ToolWrapper:
def getInitiator(self):
'''Retrieves the object that triggered the creation of the object
being currently created (if any).'''
@ -13,4 +12,8 @@ class ToolWrapper:
def getObject(self, uid):
'''Allow to retrieve an object from its unique identifier p_uid.'''
return self.o.getObject(uid, appy=True)
def getDiskFolder(self):
'''Returns the disk folder where the Appy application is stored.'''
return self.o.getProductConfig().diskFolder
# ------------------------------------------------------------------------------