Re: [virt-manager] [PATCH] tests: uriparse: Test for @ symbol in username

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-04-18 at 07:31 +0100, Radostin Stoyanov wrote:
> Add test case for URI that contains the @ symbol in username.
> 
> Signed-off-by: Radostin Stoyanov <rstoyanov1@xxxxxxxxx>
> ---
>  tests/uriparse.py | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/uriparse.py b/tests/uriparse.py
> index 5f733820..e2e713e7 100644
> --- a/tests/uriparse.py
> +++ b/tests/uriparse.py
> @@ -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@xxxxxxxxxx")

ACK

--
Cedric

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux