Skip to content

Commit 1515727

Browse files
authored
Reorganize botocore tests (#1311)
1 parent 1a35466 commit 1515727

17 files changed

+6
-7
lines changed
File renamed without changes.
File renamed without changes.

tests/boto_tests/unit/test_credentials.py renamed to tests/botocore_tests/unit/test_credentials.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
AioSSOProvider,
4848
)
4949
from aiobotocore.session import AioSession
50-
from tests.boto_tests import random_chars
51-
from tests.boto_tests.helpers import StubbedSession
50+
from tests.botocore_tests import random_chars
51+
from tests.botocore_tests.helpers import StubbedSession
5252

5353

5454
# From class TestCredentials(BaseEnvVar):

tests/boto_tests/unit/test_session.py renamed to tests/botocore_tests/unit/test_session.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import aiobotocore.config
2626
from aiobotocore import client
2727
from aiobotocore.session import ClientCreatorContext
28-
from tests.boto_tests import create_session, mock, temporary_file
28+
from tests.botocore_tests import create_session, mock, temporary_file
2929

3030

3131
class BaseSessionTest:
@@ -45,7 +45,6 @@ def environ(self):
4545
@pytest.fixture
4646
def environ_patch(self, environ):
4747
with mock.patch('os.environ', environ) as environ_patch:
48-
# environ_patch.start()
4948
yield environ_patch
5049

5150
@pytest.fixture

tests/boto_tests/unit/test_signers.py renamed to tests/botocore_tests/unit/test_signers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import aiobotocore.credentials
2121
import aiobotocore.session
2222
import aiobotocore.signers
23-
from tests.boto_tests import assert_url_equal
23+
from tests.botocore_tests import assert_url_equal
2424

2525
DATE = datetime.datetime(2024, 11, 7, 17, 39, 33, tzinfo=timezone.utc)
2626

0 commit comments

Comments
 (0)