Restored tests to upstream/master
This commit is contained in:
parent
daedda8547
commit
edd8770c67
|
@ -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():
|
||||||
|
|
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user