diff options
author | Ross Burton <ross.burton@intel.com> | 2019-09-13 16:57:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:45 +0100 |
commit | eed89d027d0b2616116c288bb4956a7a5f6d6324 (patch) | |
tree | 8d4d950df33d7436954893dcfbd033d159d048f8 /meta/lib | |
parent | d7d9dd56b4d375511f7d05d328d769af0f42a953 (diff) | |
download | poky-eed89d027d0b2616116c288bb4956a7a5f6d6324.tar.gz |
oeqa/selftest/wic: improve assert messages in test_fixed_size
(From OE-Core rev: ff4e6c71ac415de93b3abaa4e7f1727d72cd2971)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/wic.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index fcdd55059d..ea75300406 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py | |||
@@ -632,8 +632,10 @@ class Wic2(WicTestCase): | |||
632 | # 1:0.00MiB:200MiB:200MiB:ext4::;\n | 632 | # 1:0.00MiB:200MiB:200MiB:ext4::;\n |
633 | partlns = res.output.splitlines()[2:] | 633 | partlns = res.output.splitlines()[2:] |
634 | 634 | ||
635 | self.assertEqual(1, len(partlns)) | 635 | self.assertEqual(1, len(partlns), |
636 | self.assertEqual("1:0.00MiB:200MiB:200MiB:ext4::;", partlns[0]) | 636 | msg="Partition list '%s'" % res.output) |
637 | self.assertEqual("1:0.00MiB:200MiB:200MiB:ext4::;", partlns[0], | ||
638 | msg="Partition list '%s'" % res.output) | ||
637 | 639 | ||
638 | def test_fixed_size_error(self): | 640 | def test_fixed_size_error(self): |
639 | """ | 641 | """ |