MCPcopy Create free account
hub / github.com/python-hyper/uritemplate / test_expand

Method test_expand

tests/test_uritemplate.py:617–621  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

615 uri = "https://api.github.com{/endpoint}"
616
617 def test_expand(self) -> None:
618 self.assertEqual(
619 expand(self.uri, {"endpoint": "users"}),
620 "https://api.github.com/users",
621 )
622
623 def test_partial(self) -> None:
624 self.assertEqual(partial(self.uri), URITemplate(self.uri))

Callers

nothing calls this directly

Calls 1

expandFunction · 0.90

Tested by

no test coverage detected