Improve documentation

This commit is contained in:
Andras Schmelczer 2022-07-09 23:10:21 +02:00
parent 51f6f7174b
commit 63a45989f4
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
40 changed files with 956 additions and 420 deletions

View file

@ -0,0 +1,5 @@
aws_region_name = your_region_like_eu-west-2
aws_access_key_id = YOUR_ACCESS_KEY_ID
aws_secret_access_key = YOUR_VERY_SECRET_ACCESS_KEY
large_files_bucket_name = create_a_bucket_and_put_its_name_here
aws_endpoint_url = this is optional, for backblaze, use this: https://s3.us-west-002.backblazeb2.com

View file

@ -110,7 +110,7 @@ def test_initialized_with_file(client: Any) -> None:
boto3.client = Mock(return_value=s3)
LargeFileS3.configure_credentials_from_file(PATH / "../../docs/example_secrets.ini")
LargeFileS3.configure_credentials_from_file(PATH / "data/example_secrets.ini")
lf = LargeFileS3("test-file")
boto3.client.assert_called_once_with(