Backed out changeset d6facd75c051
This commit is contained in:
parent
575efa2a7c
commit
1e699bf143
@ -1,7 +1,6 @@
|
||||
import unittest
|
||||
from flask import Flask, json
|
||||
from wsmeext.flask import signature
|
||||
from wsme.api import Response
|
||||
from wsme.types import Base, text
|
||||
|
||||
|
||||
@ -52,18 +51,6 @@ def post_model(body):
|
||||
return Model(name=body.name)
|
||||
|
||||
|
||||
@test_app.get('/status_sig')
|
||||
@signature(int, status_code=201)
|
||||
def get_status_sig():
|
||||
return 201
|
||||
|
||||
|
||||
@test_app.get('/status_response')
|
||||
@signature(int)
|
||||
def get_status_response():
|
||||
return Response(1, status_code=201)
|
||||
|
||||
|
||||
class FlaskrTestCase(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user