You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to create a pytest factory which will produce fixtures (create buckets on demand), and once the test is over, the factory will delete all created buckets. Currently we pass fixture bucket_name to all tests, but 1) it creates only one bucket, while there should be many sometimes 2) it doesn't allow pass parameters to bucket creation, but in some tests we need non-default bucket configuration during creation. When passing bucket_factory to each test, the test will call bucket_factory(params), and this will create bucket and auto-clean after test.
The text was updated successfully, but these errors were encountered:
We need to create a pytest factory which will produce fixtures (create buckets on demand), and once the test is over, the factory will delete all created buckets. Currently we pass fixture
bucket_name
to all tests, but 1) it creates only one bucket, while there should be many sometimes 2) it doesn't allow pass parameters to bucket creation, but in some tests we need non-default bucket configuration during creation. When passingbucket_factory
to each test, the test will callbucket_factory(params)
, and this will create bucket and auto-clean after test.The text was updated successfully, but these errors were encountered: