Skip to content

Commit b0ad443

Browse files
committed
test unsubscribe
1 parent 1284c91 commit b0ad443

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mns_subscription/src/mns_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def check_subscription(self) -> dict:
9292

9393
def delete_subscription(self, subscription_id: str) -> bool:
9494
"""Delete the subscription by ID."""
95-
subscription_id = "27c13f3b-023d-4a55-a43b-e8b58960a315"
9695
url = f"{MNS_URL}/{subscription_id}"
9796
response = requests.delete(url, headers=self.request_headers, timeout=10)
9897
if response.status_code == 204:

mns_subscription/src/unsubscribe_mns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
def run_unsubscribe():
66
mns = get_mns_service()
7-
result = mns.delete_subscription()
7+
result = mns.delete_subscription("27c13f3b-023d-4a55-a43b-e8b58960a315")
88
return result
99

1010

0 commit comments

Comments
 (0)