From c8cb446d351ddcce869dd2d927e9cc9560d0da8a Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Thu, 3 Oct 2024 23:29:16 +0200 Subject: [PATCH] fix integration test regression after persistent bucket was introduced --- test/integration/test_b2_command_line.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/integration/test_b2_command_line.py b/test/integration/test_b2_command_line.py index 20636ab9..cbe36812 100755 --- a/test/integration/test_b2_command_line.py +++ b/test/integration/test_b2_command_line.py @@ -3245,16 +3245,13 @@ def test_upload_file__custom_upload_time(b2_tool, persistent_bucket, sample_file else: # file_id, action, date, time, size(, replication), name b2_tool.should_succeed( - ['ls', '--long', *b2_uri_args(bucket_name, subfolder)], - '^4_z.* upload {} +{} a'.format( - cut_printable, - len(file_data), - ) + ['1ls', '--long', *b2_uri_args(bucket_name, subfolder)], + f'^4_z.* upload {cut_printable} +{len(file_data)} {subfolder}/a', ) # file_id, action, date, time, size(, replication), name b2_tool.should_succeed( ['ls', '--long', '--replication', *b2_uri_args(bucket_name, subfolder)], - f'^4_z.* upload {cut_printable} +{len(file_data)} - a' + f'^4_z.* upload {cut_printable} +{len(file_data)} - {subfolder}/a' )