'q=0 should be considered NotAcceptable,
but this depends on werkzeug >= 1.0 which is not yet released
so this test is expected to fail until we depend on werkzeug >= 1.0'

def test_accept_no_default_match_q0_not_acceptable(self):

    class Foo(flask_restful.Resource, ):
        def get(self):
            return 'data'
    app = Flask(__name__)
    api = flask_restful.Api(app, default_mediatype=None)
    api.add_resource(Foo, '/')
    with app.test_client() as client:
        res = client.get('/', headers=[('Accept', 'application/json;    q=0')])
        assert_equals(res.status_code, 406)
        assert_equals(res.content_type, 'application/json')
