+ datadir = os.path.join(getRootDir(),"share/salome/resources/smesh/padderdata")
+ return datadir
+
+def getTestPadderDataDir():
+ """
+ This function gives the absolute path to the PADDER directory
+ containing the data files for the padder plugin test. WARNING:
+ this directory is a directory of the external program SpherePadder
+ that is wrapped by the padder plugin. We use the shell variable
+ PADDERHOME (defined by the SALOME environment) to localize this
+ folder.
+ """
+ PADDERHOME = os.environ['PADDERHOME']
+ datadir = os.path.join(PADDERHOME,"tests")