示例#1
0
def test_current(s3):
    assert S3FileSystem.current() is s3
示例#2
0
def test_current(s3):
    assert S3FileSystem.current() is s3
示例#3
0
def test_current(s3):
    s3._cache.clear()
    s3 = S3FileSystem()
    assert s3.current() is s3
    assert S3FileSystem.current() is s3
示例#4
0
def test_current(s3):
    s3._cache.clear()
    s3 = S3FileSystem(client_kwargs={'endpoint_url': endpoint_uri})
    assert s3.current() is s3
    assert S3FileSystem.current() is s3