aboutsummaryrefslogtreecommitdiffstats
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 12:39:09 +0100
commit2b1311e21172847b6a86cfb21a84fd00e4ab1ac5 (patch)
tree72b177cb3f6f026798b9381f2039a66db01b32b6
parent60b1a9f52dfec98e55a879a637f7142b0175b452 (diff)
downloadbitbake-2b1311e21172847b6a86cfb21a84fd00e4ab1ac5.tar.gz
bitbake-2b1311e21172847b6a86cfb21a84fd00e4ab1ac5.tar.bz2
bitbake-2b1311e21172847b6a86cfb21a84fd00e4ab1ac5.zip
test/fetch: Switch the comparision order to make test failures slightly clearer
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/tests/fetch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index ccce37b3..67eda590 100644
--- a/lib/bb/tests/fetch.py
+++ b/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)