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