(self)
| 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)) |