3 K(ÌY•ã@s:ddlZddlmZGdd„dejƒZedkr6ejƒdS)éNé)Úget_websocket_urlc@seZdZdd„ZdS)Ú WSClientTestc Cs&x dD]\}}|jt|ƒ|ƒqWdS)Núhttp://localhost/apiúws://localhost/apiúhttps://localhost/apiúwss://localhost/apiúhttps://domain.com/apiúwss://domain.com/apiúhttps://api.domain.com/apiúwss://api.domain.com/apiúhttp://api.domain.comúws://api.domain.comúhttps://api.domain.comúwss://api.domain.comúhttp://api.domain.com/úws://api.domain.com/úhttps://api.domain.com/úwss://api.domain.com/©rr©rr©r r ©r r ©r r©rr©rr©rr)rrrrrrrr)Z assertEqualr)ÚselfÚurlZws_url©rúN/private/tmp/pip-build-nl73fm5q/kubernetes/kubernetes/client/ws_client_test.pyÚtest_websocket_clients z"WSClientTest.test_websocket_clientN)Ú__name__Ú __module__Ú __qualname__r!rrrr rsrÚ__main__)ZunittestZ ws_clientrZTestCaserr"Úmainrrrr Ús