diff options
author | 2020-12-20 23:51:48 -0500 | |
---|---|---|
committer | 2020-12-20 23:51:48 -0500 | |
commit | ddec6a9d59a487337e0e7c3b80ff2baabc2a1930 (patch) | |
tree | c47f0712861850af01022eac07fe683b8ab96f19 /tests | |
parent | Fix wrong way for getting Git SHA (diff) | |
parent | Add the clear alias to the clean command (diff) |
Merge branch 'master' into ks123/sentry
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/test_api.py | 8 |
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) |