Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_push_notifications: Rename `TestPushApi` and it's test methods.

Prakhar Pratyush644efeaa14bb
diff --git a/zerver/tests/test_push_notifications.py b/zerver/tests/test_push_notifications.py
index df2b77d6d31..65d5ad27cc0 100644
--- a/zerver/tests/test_push_notifications.py
+++ b/zerver/tests/test_push_notifications.py
@@ -3415,9 +3415,9 @@ class TestSendToPushBouncer(ZulipTestCase):
)
-class TestPushApi(BouncerTestCase):
+class TestAddRemoveDeviceTokenAPI(BouncerTestCase):
@responses.activate
- def test_push_api_error_handling(self) -> None:
+ def test_add_and_remove_device_tokens_api_error_handling(self) -> None:
user = self.example_user("cordelia")
self.login_user(user)
@@ -3467,7 +3467,7 @@ class TestPushApi(BouncerTestCase):
self.assertTrue(resp.assert_call_count(URL, 1))
@responses.activate
- def test_push_api_add_and_remove_device_tokens(self) -> None:
+ def test_add_and_remove_device_tokens_api(self) -> None:
user = self.example_user("cordelia")
self.login_user(user)