Example #1
0
def test_current(s3):
    assert S3FileSystem.current() is s3
Example #2
0
def test_current(s3):
    assert S3FileSystem.current() is s3
Example #3
0
def test_current(s3):
    s3._cache.clear()
    s3 = S3FileSystem()
    assert s3.current() is s3
    assert S3FileSystem.current() is s3
Example #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