This commit is contained in:
jmartin 2014-05-27 11:16:20 +02:00
parent 610946c453
commit 3e129a95a8
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ Imports::
>>> today = datetime.date.today()
>>> from trytond.config import CONFIG
>>> CONFIG['data_path'] = '/tmp/trytond'
>>> paths = sys.path
>>> module_path = paths[[i for i, item in enumerate(paths) if re.search('.*/csv_import/.*', item)][0]]
>>> module_path = os.path.join(os.path.dirname(os.getcwd()), 'modules', 'csv_import', 'tests')
>>> if not os.path.exists('/tmp/trytond'):
... os.makedirs('/tmp/trytond')
>>> if not os.path.exists('/tmp/trytond/:memory:'):