summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tests/fetch.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r--bitbake/lib/bb/tests/fetch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 8dd8ddb071..bfa31d02ae 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -708,7 +708,8 @@ class FetchMethodTest(FetcherTest):
708 self.d.setVar("REGEX_URI", k[2]) 708 self.d.setVar("REGEX_URI", k[2])
709 self.d.setVar("REGEX", k[3]) 709 self.d.setVar("REGEX", k[3])
710 ud = bb.fetch2.FetchData(k[1], self.d) 710 ud = bb.fetch2.FetchData(k[1], self.d)
711 verstring = ud.method.latest_versionstring(ud, self.d) 711 pupver = ud.method.latest_versionstring(ud, self.d)
712 verstring = pupver[0]
712 r = bb.utils.vercmp_string(v, verstring) 713 r = bb.utils.vercmp_string(v, verstring)
713 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 714 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
714 715