mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
bitbake: toaster: fix test_build_layerversion test case
The reason of test failure is that Django querysets are different even if they contain the same objects. Fixed by converting querysets into lists. (Bitbake rev: c1abc6f0905e4321668a483a3d5be7cef3c25401) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
77ca551813
commit
11668e24e7
@@ -117,7 +117,7 @@ class LayerVersionEquivalenceTestCase(TestCase):
|
||||
# getting the build layerversion equivalent list must return the same list as the original layer
|
||||
build_equivalent_list = self.layerversion_build.get_equivalents_wpriority(self.project)
|
||||
|
||||
self.assertTrue(equivalent_list == build_equivalent_list, "%s is not %s" % (equivalent_list, build_equivalent_list))
|
||||
self.assertEqual(list(equivalent_list), list(build_equivalent_list))
|
||||
|
||||
class ProjectLVSelectionTestCase(TestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user