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