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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 8ca7e6c155..20593764fd 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -3183,7 +3183,7 @@ class FetchPremirroronlyBrokenTarball(FetcherTest):
3183 import sys 3183 import sys
3184 self.d.setVar("SRCREV", "0"*40) 3184 self.d.setVar("SRCREV", "0"*40)
3185 fetcher = bb.fetch.Fetch([self.recipe_url], self.d) 3185 fetcher = bb.fetch.Fetch([self.recipe_url], self.d)
3186 with self.assertRaises(bb.fetch2.FetchError): 3186 with self.assertRaises(bb.fetch2.FetchError), self.assertLogs() as logs:
3187 fetcher.download() 3187 fetcher.download()
3188 stdout = sys.stdout.getvalue() 3188 output = "".join(logs.output)
3189 self.assertFalse(" not a git repository (or any parent up to mount point /)" in stdout) 3189 self.assertFalse(" not a git repository (or any parent up to mount point /)" in output)