mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
tests: uriparse: Test for @ symbol in username
Add test case for URI that contains the @ symbol in username. Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
This commit is contained in:
parent
d81a9a0bc0
commit
087bf7debc
@ -49,3 +49,7 @@ class TestURI(unittest.TestCase):
|
||||
"qemu+ssh://foo%5Cbar@hostname/system",
|
||||
scheme="qemu", path="/system", transport="ssh",
|
||||
hostname="hostname", username="foo\\bar")
|
||||
self._compare(
|
||||
"qemu+ssh://user%40domain.org@hostname/system",
|
||||
scheme="qemu", path="/system", transport="ssh",
|
||||
hostname="hostname", username="user@domain.org")
|
||||
|
Loading…
x
Reference in New Issue
Block a user