Restored tests to upstream/master

This commit is contained in:
Jakob Bowyer 2017-03-31 08:53:46 +01:00
parent daedda8547
commit edd8770c67
2 changed files with 4 additions and 5 deletions

View File

@ -2,7 +2,7 @@ import random
from sanic import Sanic from sanic import Sanic
from sanic.response import json from sanic.response import json
from json import loads from ujson import loads
def test_storage(): def test_storage():

View File

@ -1,9 +1,8 @@
import asyncio
from sanic import Sanic from sanic import Sanic
from sanic.config import Config import asyncio
from sanic.exceptions import RequestTimeout
from sanic.response import text from sanic.response import text
from sanic.exceptions import RequestTimeout
from sanic.config import Config
Config.REQUEST_TIMEOUT = 1 Config.REQUEST_TIMEOUT = 1
request_timeout_app = Sanic('test_request_timeout') request_timeout_app = Sanic('test_request_timeout')