aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-20 11:03:37 +0200
committerGravatar GitHub <[email protected]>2020-12-20 11:03:37 +0200
commit215de3cf4a50fb3aa5ae0b9de1602d8547e5b6c9 (patch)
tree6e456be497fa700d6486dae81b6423a604ab0894 /tests
parentRemove unused constant (diff)
parentMerge pull request #1333 from python-discord/bug/backend/bot-j8/api-session-c... (diff)
Merge branch 'master' into ks123/pep
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/test_api.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/bot/test_api.py b/tests/bot/test_api.py
index 99e942813..76bcb481d 100644
--- a/tests/bot/test_api.py
+++ b/tests/bot/test_api.py
@@ -13,14 +13,6 @@ class APIClientTests(unittest.IsolatedAsyncioTestCase):
cls.error_api_response = MagicMock()
cls.error_api_response.status = 999
- def test_loop_is_not_running_by_default(self):
- """The event loop should not be running by default."""
- self.assertFalse(api.loop_is_running())
-
- async def test_loop_is_running_in_async_context(self):
- """The event loop should be running in an async context."""
- self.assertTrue(api.loop_is_running())
-
def test_response_code_error_default_initialization(self):
"""Test the default initialization of `ResponseCodeError` without `text` or `json`"""
error = api.ResponseCodeError(response=self.error_api_response)