No project description provided
Project description
NHS AWS Helpers
some useful boto3 utilities
quick start
contributing
contributors see contributing
installing
pip install nhs-aws-helpers
testing
the library comes with a some pytest fixtures ... nhs_aws_helpers/fixtures.py
# conftest.py
# noinspection PyUnresolvedReferences
from nhs_aws_helpers.fixtures import * # noqa: F403
# mytest.py
import pytest
from mypy_boto3_dynamodb.service_resource import Table
@pytest.fixture(scope="function", name="my_temp_ddb_table")
def my_temp_table_fixture() -> Table:
yield from temp_dynamodb_table("my-source-table-to-clone")
def my_test(my_temp_ddb_table: Table):
# do things with table
print(my_temp_ddb_table.table_name)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nhs_aws_helpers-0.5.3.tar.gz
(39.9 kB
view hashes)
Built Distribution
Close
Hashes for nhs_aws_helpers-0.5.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47daa31f6eb62856f4dff90871b49f0d3ee8e4841fa9c3b219b1da3b2a105791 |
|
MD5 | def18444781d0fa4d076bf6b3b1b0944 |
|
BLAKE2b-256 | 4bb73b1c383649a0ced4f9ec27779fde006d27035a44c61f35a0b2420b6e44ec |