Remove 204-NoContent, Flask, and Werkzeug no longer provide

public apis to add additional error code exception handling.
This commit is contained in:
Mike Terzo
2017-03-20 19:02:00 -04:00
parent 796e2ee7fd
commit cdedf94506
3 changed files with 0 additions and 41 deletions

View File

@@ -16,12 +16,6 @@ def mock_puppetdb_environments(mocker):
return_value=environemnts)
def test_error_no_content():
result = app.no_content(None)
assert result[0] == ''
assert result[1] == 204
def test_error_bad_request(mock_puppetdb_environments):
with app.app.test_request_context():
(output, error_code) = app.bad_request(None)