diff options
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index cba783f5ab..5ff156ccdd 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -22,6 +22,7 @@ | |||
22 | import unittest | 22 | import unittest |
23 | import tempfile | 23 | import tempfile |
24 | import subprocess | 24 | import subprocess |
25 | import collections | ||
25 | import os | 26 | import os |
26 | from bb.fetch2 import URI | 27 | from bb.fetch2 import URI |
27 | from bb.fetch2 import FetchMethod | 28 | from bb.fetch2 import FetchMethod |
@@ -133,10 +134,10 @@ class URITest(unittest.TestCase): | |||
133 | 'userinfo': 'anoncvs:anonymous', | 134 | 'userinfo': 'anoncvs:anonymous', |
134 | 'username': 'anoncvs', | 135 | 'username': 'anoncvs', |
135 | 'password': 'anonymous', | 136 | 'password': 'anonymous', |
136 | 'params': { | 137 | 'params': collections.OrderedDict([ |
137 | 'tag': 'V0-99-81', | 138 | ('tag', 'V0-99-81'), |
138 | 'module': 'familiar/dist/ipkg' | 139 | ('module', 'familiar/dist/ipkg') |
139 | }, | 140 | ]), |
140 | 'query': {}, | 141 | 'query': {}, |
141 | 'relative': False | 142 | 'relative': False |
142 | }, | 143 | }, |
@@ -660,7 +661,7 @@ class URLHandle(unittest.TestCase): | |||
660 | datatable = { | 661 | datatable = { |
661 | "http://www.google.com/index.html" : ('http', 'www.google.com', '/index.html', '', '', {}), | 662 | "http://www.google.com/index.html" : ('http', 'www.google.com', '/index.html', '', '', {}), |
662 | "cvs://anoncvs@cvs.handhelds.org/cvs;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', '', {'module': 'familiar/dist/ipkg'}), | 663 | "cvs://anoncvs@cvs.handhelds.org/cvs;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', '', {'module': 'familiar/dist/ipkg'}), |
663 | "cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;tag=V0-99-81;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', {'tag': 'V0-99-81', 'module': 'familiar/dist/ipkg'}), | 664 | "cvs://anoncvs:anonymous@cvs.handhelds.org/cvs;tag=V0-99-81;module=familiar/dist/ipkg" : ('cvs', 'cvs.handhelds.org', '/cvs', 'anoncvs', 'anonymous', collections.OrderedDict([('tag', 'V0-99-81'), ('module', 'familiar/dist/ipkg')])), |
664 | "git://git.openembedded.org/bitbake;branch=@foo" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'}), | 665 | "git://git.openembedded.org/bitbake;branch=@foo" : ('git', 'git.openembedded.org', '/bitbake', '', '', {'branch': '@foo'}), |
665 | "file://somelocation;someparam=1": ('file', '', 'somelocation', '', '', {'someparam': '1'}), | 666 | "file://somelocation;someparam=1": ('file', '', 'somelocation', '', '', {'someparam': '1'}), |
666 | } | 667 | } |