From 89bbe654ca7af859f52b770dfbf40d95a7ea41be Mon Sep 17 00:00:00 2001 From: galsalomon66 Date: Wed, 5 Apr 2023 01:30:00 +0300 Subject: [PATCH] upon removing the payload tag, the response index should be changed also Signed-off-by: galsalomon66 --- s3tests_boto3/functional/test_s3select.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3tests_boto3/functional/test_s3select.py b/s3tests_boto3/functional/test_s3select.py index c3cb72f..8dabcc6 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():