def test_unauthorized_no_challenge_by_default(self):
        api = restplus.Api(self.app)
        response = Mock()
        response.headers = {}
        with self.app.test_request_context('/foo'):
            response = api.unauthorized(response)
        assert_false('WWW-Authenticate' in response.headers)
dataset/ETHPy150Open noirbizarre/flask-restplus/tests/legacy/test_api.py/APITestCase.test_unauthorized_no_challenge_by_default/original