Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
5189bb3b
Commit
5189bb3b
authored
Mar 17, 2022
by
HongzheWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/recipe:edit test of urlparse
parent
3bf87114
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
slapos/test/recipe/test_urlparse.py
slapos/test/recipe/test_urlparse.py
+6
-5
No files found.
slapos/test/recipe/test_urlparse.py
View file @
5189bb3b
...
...
@@ -12,10 +12,11 @@ class UrlparseTest(unittest.TestCase):
def
test_options
(
self
):
buildout
=
self
.
buildout
self
.
assertTrue
(
buildout
[
'urlinfo'
])
self
.
assert
True
(
buildout
[
'urlinfo'
][
'path'
]
)
self
.
assert
True
(
buildout
[
'urlinfo'
][
'scheme'
]
)
self
.
assert
True
(
buildout
[
'urlinfo'
][
'host'
]
)
self
.
assert
True
(
buildout
[
'urlinfo'
][
'query'
]
)
self
.
assert
Equal
(
buildout
[
'urlinfo'
][
'path'
],
'search'
)
self
.
assert
Equal
(
buildout
[
'urlinfo'
][
'scheme'
],
'http'
)
self
.
assert
Equal
(
buildout
[
'urlinfo'
][
'host'
],
'www.google.com'
)
self
.
assert
Equal
(
buildout
[
'urlinfo'
][
'query'
],
'hl=en&q=urlparse&btnG=Google+Search'
)
def
test_install
(
self
):
self
.
assertEqual
(
self
.
recipe
.
install
(),
[])
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment