def test_method_not_allowed() -> None: error = MethodNotAllowed(['GET', 'POST']) assert 'GET, POST' == error.get_headers()['Allow']
def test_method_not_allowed() -> None: error = MethodNotAllowed(["GET", "POST"]) assert "GET, POST" == error.get_headers()["Allow"]