diff --git a/data-serving/reusable-data-service/reusable_data_service/controller/case_controller.py b/data-serving/reusable-data-service/reusable_data_service/controller/case_controller.py index f8788ceef..09695d17a 100644 --- a/data-serving/reusable-data-service/reusable_data_service/controller/case_controller.py +++ b/data-serving/reusable-data-service/reusable_data_service/controller/case_controller.py @@ -22,4 +22,4 @@ def get_case(self, id: str): def list_cases(self): """Implements get /cases.""" cases = self._store.all_cases() - return jsonify(cases), 200 \ No newline at end of file + return jsonify(cases), 200 diff --git a/data-serving/reusable-data-service/tests/test_case_controller.py b/data-serving/reusable-data-service/tests/test_case_controller.py index 6adeba336..ada84d8c8 100644 --- a/data-serving/reusable-data-service/tests/test_case_controller.py +++ b/data-serving/reusable-data-service/tests/test_case_controller.py @@ -14,7 +14,7 @@ def case_by_id(self, id: str): def put_case(self, id: str, case: Case): self.cases[id] = case - + def all_cases(self): return list(self.cases.values())