diff --git a/system/hardware/tici/esim.py b/system/hardware/tici/esim.py index 2aae437021..bf9864eecc 100755 --- a/system/hardware/tici/esim.py +++ b/system/hardware/tici/esim.py @@ -53,22 +53,6 @@ class LPA2: return profile return None - def list_notifications(self) -> list[dict[str, str]]: - """ - List notifications from the LPA. - """ - msgs = self._invoke('notification', 'list') - self.validate_successful(msgs) - notifications = [] - for notification in msgs[-1]['payload']['data']: - notifications.append({ - "sequence_number": notification['seqNumber'], - "profile_management_operation": notification['profileManagementOperation'], - "notification_address": notification['notificationAddress'], - "iccid": notification['iccid'], - }) - return notifications - def process_notifications(self) -> None: """ Process notifications from the LPA, typically to activate/deactivate the profile with the carrier. diff --git a/system/hardware/tici/tests/test_esim.py b/system/hardware/tici/tests/test_esim.py index ece69faecb..51635f6372 100644 --- a/system/hardware/tici/tests/test_esim.py +++ b/system/hardware/tici/tests/test_esim.py @@ -17,7 +17,6 @@ def cleanup(): except LPAProfileNotFoundError: pass lpa.process_notifications() - assert len(lpa.list_notifications()) == 0 class TestEsim: