-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsettings.py
More file actions
25 lines (16 loc) · 805 Bytes
/
settings.py
File metadata and controls
25 lines (16 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import os
from pathlib import Path
from Framework.Utilities import ConfigModule
# BASE_DIR or PROJECT_ROOT or Zeuz_Python_Node dir
PROJECT_ROOT = Path(__file__).parent
ZEUZ_NODE_ARTIFACTS_DIR = Path.home() / ".zeuz"
ZEUZ_NODE_DOWNLOADS_DIR = ZEUZ_NODE_ARTIFACTS_DIR / "zeuz_node_downloads"
ZEUZ_NODE_PRIVATE_RSA_KEYS_DIR = ZEUZ_NODE_ARTIFACTS_DIR / "rsa_private_keys"
# AutomationLog dir
AutomationLog_DIR = PROJECT_ROOT / "AutomationLog"
# attachments dir
attachments_DIR = AutomationLog_DIR / "attachments"
# settings.conf file
settings_conf_dir = PROJECT_ROOT / "Framework" / "settings.conf"
temp_ini_file = AutomationLog_DIR / ConfigModule.get_config_value("Advanced Options", "_file")
performance_report_dir = ConfigModule.get_config_value("sectionOne", "performance_report", temp_ini_file)