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