diff options
Diffstat (limited to 'bitbake/lib/bb/tests/fetch.py')
-rw-r--r-- | bitbake/lib/bb/tests/fetch.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index 1452d76151..20beab3855 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py | |||
@@ -87,6 +87,25 @@ class URITest(unittest.TestCase): | |||
87 | }, | 87 | }, |
88 | 'relative': False | 88 | 'relative': False |
89 | }, | 89 | }, |
90 | # Check that trailing semicolons are handled correctly | ||
91 | "http://www.example.org/index.html?qparam1=qvalue1;param2=value2;" : { | ||
92 | 'uri': 'http://www.example.org/index.html?qparam1=qvalue1;param2=value2', | ||
93 | 'scheme': 'http', | ||
94 | 'hostname': 'www.example.org', | ||
95 | 'port': None, | ||
96 | 'hostport': 'www.example.org', | ||
97 | 'path': '/index.html', | ||
98 | 'userinfo': '', | ||
99 | 'username': '', | ||
100 | 'password': '', | ||
101 | 'params': { | ||
102 | 'param2': 'value2' | ||
103 | }, | ||
104 | 'query': { | ||
105 | 'qparam1': 'qvalue1' | ||
106 | }, | ||
107 | 'relative': False | ||
108 | }, | ||
90 | "http://www.example.com:8080/index.html" : { | 109 | "http://www.example.com:8080/index.html" : { |
91 | 'uri': 'http://www.example.com:8080/index.html', | 110 | 'uri': 'http://www.example.com:8080/index.html', |
92 | 'scheme': 'http', | 111 | 'scheme': 'http', |