dovetail tool: replace the hard-coded "Tescase" and modify some classmethod 01/24301/2
authorLinghui Zeng <linghui.zeng@huawei.com>
Mon, 14 Nov 2016 02:29:21 +0000 (10:29 +0800)
committerLinghui Zeng <linghui.zeng@huawei.com>
Tue, 15 Nov 2016 12:35:55 +0000 (12:35 +0000)
commitb90fc8907f0c4ba716d6332159f881f880965277
treeef45a29df64a4d401c796e6da6ede3c5f857af00
parent64b221bee631cf52bf6a1109c16f9544eff58f80
dovetail tool: replace the hard-coded "Tescase" and modify some classmethod

JIRA: DOVETAIL-45

1. In the testcase.py file, we replace the hard-coded "Tesecase" with "cls" or "self" based on
   the specific contexts.
2. For all the four committed files, we modify some classmethod into staticmethod because each
   method is basically just a function, called syntactically like a method, but without access
   to the object and its' internals (attributes and other methods).

Change-Id: Ieb452f476a2d33ae9aca4c904ae7d2c92b68689e
Signed-off-by: Linghui Zeng <linghui.zeng@huawei.com>
dovetail/container.py
dovetail/parser.py
dovetail/report.py
dovetail/testcase.py