| # -*- coding: utf-8 -*- | |
| import pytest | |
| from s3pathlib import S3Path | |
| def bucket() -> S3Path: | |
| return S3Path("bucket") | |
| def directory() -> S3Path: | |
| return S3Path("bucket", "folder/") | |
| def file() -> S3Path: | |
| return S3Path("bucket", "folder", "file.txt") | |
| def relpath() -> S3Path: | |
| return S3Path("bucket", "folder", "file.txt").relative_to(S3Path("bucket")) | |
| def void() -> S3Path: | |
| return S3Path() | |