def test_no_content_request(self):
        with app.test_request_context(method='PUT'):
            self.assertFalse(request.data)

        with app.test_request_context(method='PUT'):
            self.assertFalse(request.form)

        with app.test_request_context(method='PUT'):
            self.assertFalse(request.files)
logic to have always the correct sys.path
dataset/ETHPy150Open tomchristie/flask-api/flask_api/tests/test_request.py/MediaTypeParsingTests.test_no_content_request--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/tests/test_http.py/fix_sys_path