提交 6e01bf7d 编写于 作者: C Cleber Rosa

Test: optimize and simplify tag assignment

The default tag in the class constructor already is None, so no
there's no need for the conditional assignment here.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 2c0a75b8
......@@ -84,8 +84,7 @@ class Test(unittest.TestCase):
else:
self.name = self.__class__.__name__
self.tag = tag or None
self.tag = tag
self.job = job
if self.datadir is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册