2017-06-01 17:53:00 +02:00
..
2016-04-07 09:58:15 -06:00
2016-04-28 15:26:55 -06:00
2016-05-31 19:58:12 -06:00
2016-04-28 15:26:55 -06:00
2017-05-30 23:38:01 -04:00
2016-06-14 21:09:27 -07:00
2017-06-01 17:52:10 +02:00
2016-06-29 09:50:09 -06:00
2017-04-13 19:28:20 -04:00
2016-11-04 09:48:57 +01:00
2016-06-06 06:50:57 -04:00
2016-06-14 21:09:27 -07:00
2016-06-03 14:07:57 -04:00
2016-04-28 15:26:55 -06:00
2016-04-28 15:26:55 -06:00
2016-06-01 22:47:33 -04:00
2016-06-20 00:52:33 -04:00
2016-06-30 13:29:51 -04:00
2016-07-01 16:04:45 -04:00
2016-12-02 17:24:47 +01:00
2017-05-02 14:08:36 +02:00
2017-05-23 05:22:10 -06:00
2016-07-27 14:51:36 -06:00
2016-07-08 13:41:17 -07:00
2016-05-06 10:58:18 -06:00
2016-04-28 15:26:55 -06:00
2017-05-05 22:24:39 -07:00

=====
Tests
=====

From the root of the project, run

.. code-block::

  $ python -m pytest

The tests that require Amazon S3 access will be skipped if you have no credentials. You can test using a
key like so:

.. code-block::

  $ AWS_ACCESS_KEY_ID=ID AWS_SECRET_ACCESS_KEY=KEY python -m pytest

The key used for Travis is generated using the Amazon CloudFormation template at
https://github.com/mapbox/rasterio/blob/master/cloudformation/testuser.json. If you had to fork
Rasterio and run your own tests, you could `use this template <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html>`__ to create your own IAM user and get a new key from your stack's "Outputs" field.