def test_get_raise_exception_on_multiple_objects_returned(self):
        with self.assertRaises(lifter.MultipleObjectsReturned):
            self.manager.all().get(TestModel.a > 1)

        with self.assertRaises(lifter.MultipleObjectsReturned):
            self.dict_manager.all().get(TestModel.a == 1)
dataset/ETHPy150Open EliotBerriot/lifter/tests/test_explicit_query_engine.py/TestQueries.test_get_raise_exception_on_multiple_objects_returned/operator `==` -> `>`