aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2022-11-05 13:39:52 +0000
committerGravatar Chris Lovering <[email protected]>2022-11-05 14:05:00 +0000
commit962968fecedca3bef33ba9524d87ffedf815f16d (patch)
tree3dd7b6c6cae4f01c8a5aae3e2371bd3a5e9dd0e7 /tests
parentUpdate pyproject.toml module meta data (diff)
Rename package due to naming conflict
Diffstat (limited to 'tests')
-rw-r--r--tests/pydis_core/test_api.py (renamed from tests/botcore/test_api.py)4
-rw-r--r--tests/pydis_core/utils/test_cooldown.py (renamed from tests/botcore/utils/test_cooldown.py)2
-rw-r--r--tests/pydis_core/utils/test_regex.py (renamed from tests/botcore/utils/test_regex.py)2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/botcore/test_api.py b/tests/pydis_core/test_api.py
index 86c9e5f3..92444e19 100644
--- a/tests/botcore/test_api.py
+++ b/tests/pydis_core/test_api.py
@@ -1,11 +1,11 @@
import unittest
from unittest.mock import MagicMock
-from botcore import site_api
+from pydis_core import site_api
class APIClientTests(unittest.IsolatedAsyncioTestCase):
- """Tests for botcore's site API client."""
+ """Tests for pydis_core's site API client."""
@classmethod
def setUpClass(cls):
diff --git a/tests/botcore/utils/test_cooldown.py b/tests/pydis_core/utils/test_cooldown.py
index 00e5a052..eed16da3 100644
--- a/tests/botcore/utils/test_cooldown.py
+++ b/tests/pydis_core/utils/test_cooldown.py
@@ -1,7 +1,7 @@
import unittest
from unittest.mock import patch
-from botcore.utils.cooldown import _CommandCooldownManager, _create_argument_tuple
+from pydis_core.utils.cooldown import _CommandCooldownManager, _create_argument_tuple
class CommandCooldownManagerTests(unittest.IsolatedAsyncioTestCase):
diff --git a/tests/botcore/utils/test_regex.py b/tests/pydis_core/utils/test_regex.py
index 491e22bd..01a2412b 100644
--- a/tests/botcore/utils/test_regex.py
+++ b/tests/pydis_core/utils/test_regex.py
@@ -1,7 +1,7 @@
import unittest
from typing import Optional
-from botcore.utils.regex import DISCORD_INVITE
+from pydis_core.utils.regex import DISCORD_INVITE
def match_regex(s: str) -> Optional[str]: