提交 b038ca38 编写于 作者: C Cleber Rosa

selftests/functional/test_loader.py: use text in comparisons

This fixes the functional test
test_loader.LoaderTestFunctional.test_yaml_loader_run.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 48a6c135
......@@ -302,7 +302,7 @@ class LoaderTestFunctional(unittest.TestCase):
exp_timeout = None
exp_sleep_lengths = [0.5, 1, 5, 10] * 3
exp_sleep_length = None
for line in result.stdout.splitlines():
for line in result.stdout_text.splitlines():
if line.startswith("START "):
self.assertFalse(exp_timeout, "%s was not found in test %ss "
"output:\n%s" % (exp_timeout, test, result))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册