MCPcopy Index your code
hub / github.com/docker/docker-py / test_url_unversioned_api

Method test_url_unversioned_api

tests/unit/api_test.py:152–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 assert url == f"{url_prefix}simple"
151
152 def test_url_unversioned_api(self):
153 url = self.client._url(
154 '/hello/{0}/world', 'somename', versioned_api=False
155 )
156 assert url == f"{url_base}hello/somename/world"
157
158 def test_version(self):
159 self.client.version()

Callers

nothing calls this directly

Calls 1

_urlMethod · 0.80

Tested by

no test coverage detected