aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/agl_test_conf.py
diff options
context:
space:
mode:
authorQiu Tingting <qiutt@fujitsu.com>2022-05-26 13:06:34 +0800
committerQiu Tingting <qiutt@fujitsu.com>2022-05-26 13:06:34 +0800
commitcb256cee0fe43430b461dcee392267dc65514e41 (patch)
treee8182b2c548f60cab6c4d614e92d67ad318a7c74 /plugins/agl_test_conf.py
parentbd0eb0ec729a228a317d2966e0f71770ca4dd36f (diff)
agl-test-framework: add AGLBaseTest class
Add AGLBaseTest class for existing test suites which has own test scripts. It package the default operations, like as log processing and file saving. In test suite, please create a child class based onAGLBaseTest. Then it is easy to init, run tests, check results and make a repoter. Bug-AGL: SPEC-4345 Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Change-Id: I9dbc01db59df16eb5718b19b3223ad95da0afb11
Diffstat (limited to 'plugins/agl_test_conf.py')
-rw-r--r--plugins/agl_test_conf.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/agl_test_conf.py b/plugins/agl_test_conf.py
index afffa68..d1178eb 100644
--- a/plugins/agl_test_conf.py
+++ b/plugins/agl_test_conf.py
@@ -25,6 +25,12 @@ TPL_DIR = BASE_DIR + "template/"
#Defalut template file name for html result
HTML_TPL = "summary_result_tpl.html"
+#Color for html format
+BGCOLOR_DARK = "CCCBE4"
+BGCOLOR_LIGHT = "E8E7F2"
+BGCOLOR_TABLE_TITLE = "2400B0"
+COLOR_TABLE_TITLE = "white"
+
#Get the log file for a test set :
# /var/run/agl-test/logs/tmp-log/${test_set_name}/log/${test_set_name}.log
def get_log_file(test_set_name):