MCPcopy Index your code
hub / github.com/hugapi/hug / test_call

Method test_call

tests/test_routing.py:382–384  ·  view source on GitHub ↗

Test to ensure the HTTP METHOD can be set to accept all on the fly

(self)

Source from the content-addressed store, hash-verified

380 assert self.route.connect("/url").route["urls"] == ("/url",)
381
382 def test_call(self):
383 """Test to ensure the HTTP METHOD can be set to accept all on the fly"""
384 assert self.route.call().route["accept"] == hug.HTTP_METHODS
385
386 def test_http(self):
387 """Test to ensure the HTTP METHOD can be set to accept all on the fly"""

Callers

nothing calls this directly

Calls 1

callMethod · 0.80

Tested by

no test coverage detected