def test_delete_bucket(client: TimeseriesClient):
    bucket_name = "test-delete-bucket"
    client.create_bucket(bucket_name)

    assert client.exist_bucket(bucket_name)

    client.delete_bucket(bucket_name)

    assert not client.exist_bucket(bucket_name)
def test_create_bucket(client: TimeseriesClient):
    bucket_name = "test-create-bucket"
    client.create_bucket(bucket_name)

    assert client.exist_bucket(bucket_name)
def test_exist_bucket(client: TimeseriesClient):
    bucket_name = "test-bucket"

    assert client.exist_bucket(bucket=bucket_name)