From 22699db8550fc06674314bdca7463a4437243972 Mon Sep 17 00:00:00 2001 From: Jakob Bowyer Date: Wed, 29 Mar 2017 09:16:53 +0100 Subject: [PATCH] Moved skips to seperate pull request --- tests/test_payload_too_large.py | 3 --- tests/test_request_timeout.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/tests/test_payload_too_large.py b/tests/test_payload_too_large.py index 6c67fd9c..95b5de5b 100644 --- a/tests/test_payload_too_large.py +++ b/tests/test_payload_too_large.py @@ -1,5 +1,3 @@ -import pytest - from sanic import Sanic from sanic.exceptions import PayloadTooLarge from sanic.response import text @@ -45,7 +43,6 @@ async def handler3(request): return text('OK') -@pytest.mark.skip # see: https://github.com/channelcat/sanic/issues/598 def test_payload_too_large_at_on_header_default(): data = 'a' * 1000 response = on_header_default_app.test_client.post( diff --git a/tests/test_request_timeout.py b/tests/test_request_timeout.py index 7eba7c5a..40bc364c 100644 --- a/tests/test_request_timeout.py +++ b/tests/test_request_timeout.py @@ -1,7 +1,5 @@ import asyncio -import pytest - from sanic import Sanic from sanic.config import Config from sanic.exceptions import RequestTimeout @@ -23,7 +21,6 @@ def handler_exception(request, exception): return text('Request Timeout from error_handler.', 408) -@pytest.mark.skip # see: https://github.com/channelcat/sanic/issues/598 def test_server_error_request_timeout(): request, response = request_timeout_app.test_client.get('/1') assert response.status == 408 @@ -36,7 +33,6 @@ async def handler_2(request): return text('OK') -@pytest.mark.skip # see: https://github.com/channelcat/sanic/issues/598 def test_default_server_error_request_timeout(): request, response = request_timeout_default_app.test_client.get('/1') assert response.status == 408