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

Method test_url_invalid_resource

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

Source from the content-addressed store, hash-verified

142 assert url == f"{url_prefix}images/localhost:5000/image/push"
143
144 def test_url_invalid_resource(self):
145 with pytest.raises(ValueError):
146 self.client._url('/hello/{0}/world', ['sakuya', 'izayoi'])
147
148 def test_url_no_resource(self):
149 url = self.client._url('/simple')

Callers

nothing calls this directly

Calls 1

_urlMethod · 0.80

Tested by

no test coverage detected