Okey, so it's a bit weird problem and I have no idea where to look for solution
class which operates at "/" route
parser = reqparse.RequestParser()
parser.add_argument('task')
parser.add_argument('message')
class SimpleRequest(Resource):
    # definiujemy rodzaj zapytania HTTP
    def get(self):
        return "hello world"
    def post(self):
        args = parser.parse_args()
        return args['message']
as we can see it returns what it get as body of Request
Simple test
    def test_simple_request(self):
        result = requests.get(f'{APP_URL}/')
        self.assertEqual(result.status_code, 200)
        test_text = 'simple_text'
        message = {"message": test_text}
        result = requests.post(f'{APP_URL}/', message)
        self.assertEqual(result.text, test_text)
I am sending 'simple_text', but what I am getting in return is '"simple_text"\n' so my test return assertion failure and it potentially can lead to huge bugs
Did I missed something?

 
    