From 3d46466a0d02ed7cf95fb609bfc98a97db8ff35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Reuiller?= Date: Wed, 11 Sep 2024 22:29:38 +0200 Subject: [PATCH] fix test --- services/management/commands/syncbetadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/management/commands/syncbetadata.py b/services/management/commands/syncbetadata.py index de6a146..ec1434d 100644 --- a/services/management/commands/syncbetadata.py +++ b/services/management/commands/syncbetadata.py @@ -141,11 +141,11 @@ def delete_service(self, service_id): try: service = ServicePage.objects.get(beta_id=service_id) service.delete() - self.stdout.write(f"Service id {service_id} deleted!") + self.stdout.write("Service deleted!") # TODO: check if add redirection to avoid 404 is needed except ServicePage.DoesNotExist: - self.stdout.write(f"Service id {service_id} already deleted.") + self.stdout.write("Service already deleted.") pass # service already deleted def create_or_update_member(self, member_id, services, attributes):