def test_exception_live(self):
        self.app.config['DEBUG'] = False

        @nice_json
        def error_function():
            raise Exception("I am an exception")

        response = error_function()

        self.assertEqual(
            {'data': None, 'status': 500, 'error': "Internal Server Error"},
            response.json)

        self.assertEqual(500, response.status_code)
str,str->None
dataset/ETHPy150Open Jwpe/Flask-Nicely/tests/test_flask_nicely.py/TestFlaskNicely.test_exception_live--crossover with--dataset/ETHPy150Open cnbeining/Biligrab/biligrab.py/concat_videos