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.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py
index 3be7db3589..0f1cb7670d 100644
--- a/bitbake/lib/bb/tests/fetch.py
+++ b/bitbake/lib/bb/tests/fetch.py
@@ -570,16 +570,16 @@ class MirrorUriTest(FetcherTest):
570 'http://otherdownloads.yoctoproject.org/downloads/bitbake-1.0.tar.gz', 570 'http://otherdownloads.yoctoproject.org/downloads/bitbake-1.0.tar.gz',
571 'http://downloads2.yoctoproject.org/downloads/bitbake-1.0.tar.gz']) 571 'http://downloads2.yoctoproject.org/downloads/bitbake-1.0.tar.gz'])
572 572
573 recmirrorvar = "https://.*/[^/]* http://AAAA/A/A/A/ " \ 573 recmirrorvar = "https://.*/[^/]* http://aaaa/A/A/A/ " \
574 "https://.*/[^/]* https://BBBB/B/B/B/" 574 "https://.*/[^/]* https://bbbb/B/B/B/"
575 575
576 def test_recursive(self): 576 def test_recursive(self):
577 fetcher = bb.fetch.FetchData("https://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d) 577 fetcher = bb.fetch.FetchData("https://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d)
578 mirrors = bb.fetch2.mirror_from_string(self.recmirrorvar) 578 mirrors = bb.fetch2.mirror_from_string(self.recmirrorvar)
579 uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d) 579 uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d)
580 self.assertEqual(uris, ['http://AAAA/A/A/A/bitbake/bitbake-1.0.tar.gz', 580 self.assertEqual(uris, ['http://aaaa/A/A/A/bitbake/bitbake-1.0.tar.gz',
581 'https://BBBB/B/B/B/bitbake/bitbake-1.0.tar.gz', 581 'https://bbbb/B/B/B/bitbake/bitbake-1.0.tar.gz',
582 'http://AAAA/A/A/A/B/B/bitbake/bitbake-1.0.tar.gz']) 582 'http://aaaa/A/A/A/B/B/bitbake/bitbake-1.0.tar.gz'])
583 583
584 584
585class GitDownloadDirectoryNamingTest(FetcherTest): 585class GitDownloadDirectoryNamingTest(FetcherTest):