Fixtures for integration tests of AWS services,uses moto mocking library.
Project description
pytest-moto
Package status
Usage
Pytest-moto is collection of fixtures which are running standalone moto server which can be later used by larger integration tests. All available fixtures:
moto_autoscaling - runs moto server with autoscaling api endpoint on port 7002
moto_cloudwatch - runs moto server with cloudwatch api endpoint on port 7002
moto_dynamodb - runs moto server with dynamodb api endpoint on port 7003
moto_ec2 - runs moto server with ec2 api endpoint on port 7004
moto_elb - runs moto server with elb api endpoint on port 7005
moto_emr - runs moto server with emr api endpoint on port 7006
moto_glacier - runs moto server with glacier api endpoint on port 7007
moto_kinesis - runs moto server with kinesis api endpoint on port 7009
moto_kms - runs moto server with kms api endpoint on port 7010
moto_rds - runs moto server with rds api endpoint on port 7011
moto_redshift - runs moto server with redshift api endpoint on port 7012
moto_s3 - runs moto server with s3 api endpoint on port 7014
moto_ses - runs moto server with ses api endpoint on port 7015
moto_sqs - runs moto server with sqs api endpoint on port 7017
moto_sts - runs moto server with sts api endpoint on port 7018
TODO
Cloudformation isn’t supported in standalone mode of moto (requires patch to upstream repository).
IAM isn’t supported in standalone mode of moto.
SNS isn’t supported in standalone mode of moto.
Route53 can’t use insecure connections requires changes in boto.
Package resources
Bug tracker: https://github.com/jotes/pytest-moto/issues
Documentation: http://pytest-moto.readthedocs.org/
Travis-ci
After creating package on github, move to tracis-ci.org, and turn on ci builds for given package.
CHANGELOG
0.1.1
enabled pushing to pypi via tags in travis.
0.1.0
enabled disabled tests for cloudformation, iam and sns because of new version of moto library (0.4.10).
0.0.1
support of most of server modes provided by moto.
full testing of all available fixures.
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
Built Distribution
Hashes for pytest_moto-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f6b5289a700d882a549467a830b37aca775d3414be91983e64e3f13e6bc2182 |
|
MD5 | ffa0479a567b3c7bb8bc2564de51ba81 |
|
BLAKE2b-256 | df2e8ff766bd5883636e2ee945b76d51fc785a16dc3912e8de0f1da2f361fb06 |