Exemplo n.º 1
0
 def test_invalid_container_id_raises_error(self):
     task = RemoveContainer()
     with pytest.raises(ValueError):
         task.run(container_id=None)
Exemplo n.º 2
0
 def test_empty_container_id_raises_error(self):
     task = RemoveContainer()
     with pytest.raises(ValueError):
         task.run()