diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-20 11:57:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-02 08:24:01 +0100 |
commit | 3b3997174831931ea472167ba6cc854a4972ccce (patch) | |
tree | 861b0bcb54e70fbe59bf7920862954dcec40a1e8 /meta/lib/oeqa/selftest/sstatetests.py | |
parent | 52c4b7f247618f185a11dfb1cf15d0490d074379 (diff) | |
download | poky-3b3997174831931ea472167ba6cc854a4972ccce.tar.gz |
classes/lib: Complete transition to python3
This patch contains all the other misc pieces of the transition to
python3 which didn't make sense to be broken into individual patches.
(From OE-Core rev: fcd6b38bab8517d83e1ed48eef1bca9a9a190f57)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/sstatetests.py')
-rw-r--r-- | meta/lib/oeqa/selftest/sstatetests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/selftest/sstatetests.py b/meta/lib/oeqa/selftest/sstatetests.py index cc64c6cb68..07212ac4f1 100644 --- a/meta/lib/oeqa/selftest/sstatetests.py +++ b/meta/lib/oeqa/selftest/sstatetests.py | |||
@@ -264,7 +264,7 @@ SDKMACHINE = "i686" | |||
264 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps/") | 264 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps/") |
265 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash").replace("i686-linux", "x86_64-linux").replace("i686" + targetvendor + "-linux", "x86_64" + targetvendor + "-linux", ) for x in files2] | 265 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash").replace("i686-linux", "x86_64-linux").replace("i686" + targetvendor + "-linux", "x86_64" + targetvendor + "-linux", ) for x in files2] |
266 | self.maxDiff = None | 266 | self.maxDiff = None |
267 | self.assertItemsEqual(files1, files2) | 267 | self.assertCountEqual(files1, files2) |
268 | 268 | ||
269 | 269 | ||
270 | @testcase(1271) | 270 | @testcase(1271) |
@@ -298,7 +298,7 @@ NATIVELSBSTRING = \"DistroB\" | |||
298 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps/") | 298 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps/") |
299 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash") for x in files2] | 299 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash") for x in files2] |
300 | self.maxDiff = None | 300 | self.maxDiff = None |
301 | self.assertItemsEqual(files1, files2) | 301 | self.assertCountEqual(files1, files2) |
302 | 302 | ||
303 | @testcase(1368) | 303 | @testcase(1368) |
304 | def test_sstate_allarch_samesigs(self): | 304 | def test_sstate_allarch_samesigs(self): |
@@ -393,7 +393,7 @@ DEFAULTTUNE_virtclass-multilib-lib32 = "x86" | |||
393 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps") | 393 | files2 = get_files(topdir + "/tmp-sstatesamehash2/stamps") |
394 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash") for x in files2] | 394 | files2 = [x.replace("tmp-sstatesamehash2", "tmp-sstatesamehash") for x in files2] |
395 | self.maxDiff = None | 395 | self.maxDiff = None |
396 | self.assertItemsEqual(files1, files2) | 396 | self.assertCountEqual(files1, files2) |
397 | 397 | ||
398 | 398 | ||
399 | def test_sstate_noop_samesigs(self): | 399 | def test_sstate_noop_samesigs(self): |