def test_invalid_container_id_raises_error(self): task = RemoveContainer() with pytest.raises(ValueError): task.run(container_id=None)
def test_empty_container_id_raises_error(self): task = RemoveContainer() with pytest.raises(ValueError): task.run()