You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
631 B
20 lines
631 B
import os
|
|
from calculate.variables.datavars import Variable, ListType, HashType
|
|
'''
|
|
system:
|
|
env_order -> list
|
|
env_path -> hash
|
|
'''
|
|
|
|
|
|
TESTFILES_PATH = os.path.join(os.getcwd(), 'tests/variables/testfiles')
|
|
|
|
|
|
# Список мест, где есть calculate.ini файлы.
|
|
Variable('env_order', type=ListType, source=['system', 'local'])
|
|
|
|
# Отображение множества мест, где есть calculate.ini файлы, на пути к ним.
|
|
Variable('env_path', type=HashType,
|
|
source={'system': os.path.join(TESTFILES_PATH,
|
|
'ini_vars/calculate_7.ini')})
|