Generated compute name include the username when it's exists

This commit is contained in:
Julien Duponchelle committed 2016-05-25 13:58:29 +02:00
1 parent d469a2060d
commit 6162d7e431
3 files changed
+11 -3

No files matched your search

+2 -1
View File
@@ -47,7 +47,8 @@ def test_name():
assert c.name == "Local"
c = Compute("world", protocol="https", host="example.com", port=84, controller=MagicMock(), name="hello")
assert c.name == "hello"
c = Compute("world", protocol="https", host="example.com", port=84, controller=MagicMock(),user="azertyuiopqsdfghjklkm")
assert c.name == "https://azertyuiopq...@example.com:84"
def test_compute_local(compute):
"""