From 2b1311e21172847b6a86cfb21a84fd00e4ab1ac5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 28 Jun 2012 11:33:05 +0000 Subject: test/fetch: Switch the comparision order to make test failures slightly clearer Signed-off-by: Richard Purdie --- lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py index ccce37b32..67eda5901 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) -- cgit 1.2.3-korg