summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/tests/fetch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index d711c77d35..74859f9d30 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -913,7 +913,7 @@ class FetchLatestVersionTest(FetcherTest):
913 ud = bb.fetch2.FetchData(k[1], self.d) 913 ud = bb.fetch2.FetchData(k[1], self.d)
914 pupver= ud.method.latest_versionstring(ud, self.d) 914 pupver= ud.method.latest_versionstring(ud, self.d)
915 verstring = pupver[0] 915 verstring = pupver[0]
916 self.assertTrue(verstring, msg="Could not find upstream version") 916 self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
917 r = bb.utils.vercmp_string(v, verstring) 917 r = bb.utils.vercmp_string(v, verstring)
918 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 918 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
919 919
@@ -926,7 +926,7 @@ class FetchLatestVersionTest(FetcherTest):
926 ud = bb.fetch2.FetchData(k[1], self.d) 926 ud = bb.fetch2.FetchData(k[1], self.d)
927 pupver = ud.method.latest_versionstring(ud, self.d) 927 pupver = ud.method.latest_versionstring(ud, self.d)
928 verstring = pupver[0] 928 verstring = pupver[0]
929 self.assertTrue(verstring, msg="Could not find upstream version") 929 self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
930 r = bb.utils.vercmp_string(v, verstring) 930 r = bb.utils.vercmp_string(v, verstring)
931 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring)) 931 self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
932 932