aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/core/testcase.py')
-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 179a5684..b44ed793 100644
--- a/xtesting/core/testcase.py
+++ b/xtesting/core/testcase.py
@@ -60,7 +60,8 @@ class TestCase(metaclass=abc.ABCMeta):
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