aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/core')
-rw-r--r--xtesting/core/testcase.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/core/testcase.py b/xtesting/core/testcase.py
index bccf76d2..744a59f1 100644
--- a/xtesting/core/testcase.py
+++ b/xtesting/core/testcase.py
@@ -62,7 +62,8 @@ class TestCase():
def __init__(self, **kwargs):
self.details = {}
- self.project_name = kwargs.get('project_name', 'xtesting')
+ self.project_name = os.environ.get(
+ 'PROJECT_NAME', kwargs.get('project_name', 'xtesting'))
self.case_name = kwargs.get('case_name', '')
self.criteria = kwargs.get('criteria', 100)
self.result = 0