Test to ensure the HTTP METHOD can be set to accept all on the fly
(self)
| 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""" |
| 388 | assert self.route.http().route["accept"] == hug.HTTP_METHODS |
| 389 | |
| 390 | def test_get_post(self): |
| 391 | """Test to ensure the HTTP METHOD can be set to GET & POST in one call""" |