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