Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_partial(self):
self.assertEqual(partial(self.uri), URITemplate(self.uri))
uri = self.uri + '/sigmavirus24{/other}'
self.assertEqual(
partial(uri, endpoint='users'),
URITemplate('https://api.github.com/users/sigmavirus24{/other}')
)
def test_partial(self):
self.assertEqual(partial(self.uri), URITemplate(self.uri))
uri = self.uri + '/sigmavirus24{/other}'
self.assertEqual(
partial(uri, endpoint='users'),
URITemplate('https://api.github.com/users/sigmavirus24{/other}')
)