def test_raises_if_bucket_not_eventually_provided(self): task = S3List() with pytest.raises(ValueError, match="bucket"): task.run(prefix="fake/path")
def test_initialization(self): task = S3List()
def test_initialization_passes_to_task_constructor(self): task = S3List(name="test", tags=["AWS"]) assert task.name == "test" assert task.tags == {"AWS"}
def test_initialization(self): S3List()