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