Browse Source

Add tests

pull/2845/head
fourjr 7 years ago committed by GitHub
parent
commit
5a87d79e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tests/test_helpers.py

3
tests/test_helpers.py

@ -243,6 +243,9 @@ class TestJSON(object):
rv_uuid = uuid.UUID(rv_x)
assert rv_uuid == test_uuid
def test_jsonify_status(self, app, client):
flask.jsonify({'code': 400}, status=400)
def test_json_attr(self, app, client):
@app.route('/add', methods=['POST'])

Loading…
Cancel
Save