summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-28 11:33:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-28 16:32:57 +0100
commitc525c131a65b6e8d2e47f4fe6e6e25e0a5dbc2eb (patch)
tree5a04e987c254b3fba1ac9a7ba52933c1c2dce562 /bitbake/lib
parentb13951f96d5e1ff4d0b804316bc9a4fdc1c3e54d (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index ccce37b323..67eda5901a 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -153,7 +153,7 @@ class FetcherTest(unittest.TestCase):
153 ud.setup_localpath(self.d) 153 ud.setup_localpath(self.d)
154 mirrors = bb.fetch2.mirror_from_string("%s %s" % (k[1], k[2])) 154 mirrors = bb.fetch2.mirror_from_string("%s %s" % (k[1], k[2]))
155 newuris, uds = bb.fetch2.build_mirroruris(ud, mirrors, self.d) 155 newuris, uds = bb.fetch2.build_mirroruris(ud, mirrors, self.d)
156 self.assertEqual(newuris, [v]) 156 self.assertEqual([v], newuris)
157 157
158 def test_urilist1(self): 158 def test_urilist1(self):
159 fetcher = bb.fetch.FetchData("http://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d) 159 fetcher = bb.fetch.FetchData("http://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d)