def get_all_sites(self):
        return self._edit_session.query(Site).order_by(Site.code).all()
Test if it raises an exception when uninstall package fails
dataset/ETHPy150Open ODM2/ODMToolsPython/odmtools/odmservices/series_service.py/SeriesService.get_all_sites--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/bower_test.py/BowerTestCase.test_uninstall_with_error