aboutsummaryrefslogtreecommitdiffstats
path: root/meta-skeleton
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2017-06-14 13:01:12 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-23 11:43:37 +0100
commit08b0702492536d41d3cf2c9c05d1fab36d32a566 (patch)
treeff92ca4723a15ea85cf2cfcb793401814338057a /meta-skeleton
parentf7d105a8e63466afdf226f2139e06f3c0230e2f9 (diff)
downloadopenembedded-core-contrib-08b0702492536d41d3cf2c9c05d1fab36d32a566.tar.gz
selftest/devtool: replace file assertTrue/False with assertExists/NotExists
Current osselftest print confusing assertion message when using self.assertTrue(os.path.exists(filepath)) to test file path, example of confusing assertion message: AssertionError: False is not true Replce assertTrue/assertFalse with assertExists/assertNotExists to test file path, this will improve assertion message and simplify coding, self.assertExists(filepath) will print below AssertionError: <filepath> does not exist [YOCTO #11356] Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions