robotframework-aws
AWSLibrary is a testing library for Robot Framework that gives you the ability to use many of the AWS services in your
tests. This library directly interacts with Boto 3.
Boto is the Amazon Web Services (AWS) SDK for Python. It enables Python developers to create, configure, and manage
AWS services.
If there is functionality that should be included in this library please create an issue or feel free to contribute.
Keyword Documentation
This library covers the AWS services listed in the keywords:
Installation and use
Install the package
pip install robotframework-aws
Update the package
pip install robotframework-aws --upgrade
Creating a Test Case
When creating a test case, start by creating an AWS session for your test and end by deleting it.
*** Settings ***
Library AWSLibrary
*** Variables ***
${REGION} eu-west-1
${BUCKET} some-bucket-name
*** Test Cases ***
Test Case
[Setup] Create Session With Keys ${REGION} %{AWS_USER_NAME} %{AWS_USER_PASS}
S3 Upload File ${BUCKET} new_file.json ${CURDIR}/local_file.json
S3 Key Should Exist ${BUCKET} new_file.json
S3 Key Should Not Exist ${BUCKET} local_file.json
${file_inside_folder} S3 List Objects ${BUCKET} folder_name
Log List ${file_inside_folder}
S3 Download File ${BUCKET} new_file.json ${CURDIR}/new_local_file.json
S3 Delete File ${BUCKET} new_file.json
[Teardown] Delete All Sessions
Attention Contributors
Metadata
Release files for robotframework-aws 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-aws-1.0.0.tar.gz | 14.4 kB | Without provenance | Details for robotframework-aws-1.0.0.tar.gz |
Release files / robotframework-aws-1.0.0.tar.gz
| Download URL | robotframework-aws-1.0.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
541814a54bc9249b9541ec797ea6a7aae284a1048888b8e647659306c8573c75
|
|
BLAKE2b-256 checksum How to use checksums |
920cdba8505295c7629b84d0963a58fc830aae11c50fd0a3d3ab5def7920b7c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.13
|
Security for robotframework-aws 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.