def test_current(s3): assert S3FileSystem.current() is s3
def test_current(s3): s3._cache.clear() s3 = S3FileSystem() assert s3.current() is s3 assert S3FileSystem.current() is s3
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