Skip to content

Commit 9057c87

Browse files
author
libertyzhu
committed
fix ut
1 parent 12a5259 commit 9057c87

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

ut/test.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,9 +1831,14 @@ def test_post_bucket_inventory_configurations():
18311831
]
18321832
},
18331833
}
1834+
inventory_id = 'list1'
1835+
response = client.delete_bucket_inventory(
1836+
Bucket=test_bucket,
1837+
Id=inventory_id,
1838+
)
18341839
response = client.post_bucket_inventory(
18351840
Bucket=test_bucket,
1836-
Id='list1',
1841+
Id=inventory_id,
18371842
InventoryConfiguration=inventory_config,
18381843
)
18391844

0 commit comments

Comments
 (0)