Skip to main content

Fixtures for integration tests of AWS services,uses moto mocking library.

Project description

pytest-moto
===========

.. image:: https://pypip.in/v/pytest-moto/badge.png
:target: https://pypi.python.org/pypi/pytest-moto/
:alt: Latest PyPI version

.. image:: https://readthedocs.org/projects/pytest-moto/badge/?version=v0.2.0
:target: https://readthedocs.org/projects/pytest-moto/?badge=v0.2.0
:alt: Documentation Status

.. image:: https://pypip.in/d/pytest-moto/badge.png
:target: https://pypi.python.org/pypi/pytest-moto/
:alt: Number of PyPI downloads

.. image:: https://pypip.in/wheel/pytest-moto/badge.png
:target: https://pypi.python.org/pypi/pytest-moto/
:alt: Wheel Status

.. image:: https://pypip.in/egg/pytest-moto/badge.png
:target: https://pypi.python.org/pypi/pytest-moto/
:alt: Egg Status

.. image:: https://pypip.in/license/pytest-moto/badge.png
:target: https://pypi.python.org/pypi/pytest-moto/
:alt: License

Package status
--------------

.. image:: https://travis-ci.org/jotes/pytest-moto.svg?branch=v0.2.0
:target: https://travis-ci.org/jotes/pytest-moto
:alt: Tests

.. image:: https://coveralls.io/repos/jotes/pytest-moto/badge.png?branch=v0.2.0
:target: https://coveralls.io/r/jotes/pytest-moto?branch=v0.2.0
:alt: Coverage Status

.. image:: https://requires.io/github/jotes/pytest-moto/requirements.svg?tag=v0.2.0
:target: https://requires.io/github/jotes/pytest-moto/requirements/?tag=v0.2.0
:alt: Requirements 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.2.0
----------
----------

- 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-moto-0.2.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

pytest-moto-0.2.0.linux-x86_64.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file pytest-moto-0.2.0.tar.gz.

File metadata

  • Download URL: pytest-moto-0.2.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-moto-0.2.0.tar.gz
Algorithm Hash digest
SHA256 aadf3f1a6fec785c25af09738f4656696be6e2db2d597ff2d561d2018861542b
MD5 4883ff010dce321779a013865e139f11
BLAKE2b-256 0eef79a5ac5d1e418991372cd21f4fb95be323aec16817517d7760470823b645

See more details on using hashes here.

File details

Details for the file pytest-moto-0.2.0.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for pytest-moto-0.2.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 62e4d1d9f46dc2b1abbcc576edc087390a201f0b1ae6ae1cdb58e1c77a144f51
MD5 b465b9d2f03072df9d66c7b4838c2660
BLAKE2b-256 34b9a15406795551f68a4a589e6d59f659efb3f97cfecdb17155bfbe82f21e9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page