File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# specific language governing permissions and limitations
1616# under the License.
1717
18- from moto import mock_aws
1918from unittest import mock
19+
20+ from moto import mock_aws
21+
2022from pyiceberg .catalog .glue import GlueCatalog
2123from pyiceberg .typedef import Properties
2224
2729 "client.session-token" : "client.session-token" ,
2830}
2931
32+
3033@mock_aws
3134def test_passing_client_profile_name_properties_to_glue () -> None :
3235 session_properties : Properties = {
Original file line number Diff line number Diff line change 1616# under the License.
1717
1818
19- from unittest import mock
20- import pytest
2119import uuid
20+ from unittest import mock
21+
2222from pyiceberg .io .fsspec import FsspecFileIO
2323from pyiceberg .typedef import Properties
2424
2929 "client.session-token" : "client.session-token" ,
3030}
3131
32+
3233def test_fsspec_s3_session_properties_with_profile () -> None :
3334 session_properties : Properties = {
3435 "s3.profile-name" : "test-profile" ,
@@ -56,6 +57,7 @@ def test_fsspec_s3_session_properties_with_profile() -> None:
5657 session = mock_aio_session (),
5758 )
5859
60+
5961def test_fsspec_s3_session_properties_with_client_profile () -> None :
6062 session_properties : Properties = {
6163 "client.profile-name" : "test-profile" ,
You can’t perform that action at this time.
0 commit comments