From: galsalomon66 Date: Tue, 4 Apr 2023 22:30:00 +0000 (+0300) Subject: upon removing the payload tag, the response index should be changed also X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=89bbe654ca7af859f52b770dfbf40d95a7ea41be;p=s3-tests.git upon removing the payload tag, the response index should be changed also Signed-off-by: galsalomon66 --- diff --git a/s3tests_boto3/functional/test_s3select.py b/s3tests_boto3/functional/test_s3select.py index c3cb72fe..8dabcc6d 100644 --- a/s3tests_boto3/functional/test_s3select.py +++ b/s3tests_boto3/functional/test_s3select.py @@ -75,7 +75,7 @@ def generate_s3select_expression_projection(bucket_name,obj_name): epsilon = float(0.00001) # both results should be close (epsilon) - assert( abs(float(res.split("\n")[1]) - eval(e)) < epsilon ) + assert( abs(float(res.split("\n")[0]) - eval(e)) < epsilon ) @pytest.mark.s3select def get_random_string():