diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-28 11:33:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-28 16:32:57 +0100 |
commit | c525c131a65b6e8d2e47f4fe6e6e25e0a5dbc2eb (patch) | |
tree | 5a04e987c254b3fba1ac9a7ba52933c1c2dce562 | |
parent | b13951f96d5e1ff4d0b804316bc9a4fdc1c3e54d (diff) | |
download | ast2050-yocto-poky-c525c131a65b6e8d2e47f4fe6e6e25e0a5dbc2eb.zip ast2050-yocto-poky-c525c131a65b6e8d2e47f4fe6e6e25e0a5dbc2eb.tar.gz |
bitbake: test/fetch: Switch the comparision order to make test failures slightly clearer
(Bitbake rev: 2b1311e21172847b6a86cfb21a84fd00e4ab1ac5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index ccce37b..67eda59 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py @@ -153,7 +153,7 @@ class FetcherTest(unittest.TestCase): ud.setup_localpath(self.d) mirrors = bb.fetch2.mirror_from_string("%s %s" % (k[1], k[2])) newuris, uds = bb.fetch2.build_mirroruris(ud, mirrors, self.d) - self.assertEqual(newuris, [v]) + self.assertEqual([v], newuris) def test_urilist1(self): fetcher = bb.fetch.FetchData("http://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d) |