Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
Pin the version of moto we're using because tests are failing on the …
Browse files Browse the repository at this point in the history
…latest version.

Summary:
Example #Changes failure:
https://changes.build.itc.dropbox.com/projects/changes/builds/972598bf7061497fa01812b0c9f46ccc/jobs/a97e92c48fb44d1797c9731a0f38a434/logs/3ce6c13466dc41dfbccd844f6b827952/

==================================== ERRORS ====================================
______________ ERROR collecting tests/changes/storage/test_s3.py _______________
tests/changes/storage/test_s3.py:6: in <module>
    from moto import mock_s3
env/local/lib/python2.7/site-packages/moto/__init__.py:14: in <module>
    from .kinesis import mock_kinesis  # flake8: noqa
env/local/lib/python2.7/site-packages/moto/kinesis/__init__.py:2: in <module>
    from .models import kinesis_backends
env/local/lib/python2.7/site-packages/moto/kinesis/models.py:184: in <module>
    for region in boto.kinesis.regions():
env/local/lib/python2.7/site-packages/boto/kinesis/__init__.py:34: in regions
    return get_regions('kinesis', connection_cls=KinesisConnection)
env/local/lib/python2.7/site-packages/boto/regioninfo.py:130: in get_regions
    "Service '%s' not found in endpoints." % service_name
E   BotoClientError: BotoClientError: Service 'kinesis' not found in endpoints.
----------- generated xml file: /home/ubuntu/source/python.junit.xml -----------
=============== 302 passed, 10 skipped, 1 error in 32.84 seconds ===============

Test Plan: https://changes.build.itc.dropbox.com/projects/changes/builds/fd27b46317ee49bcb9a3d0c6fa4943b5/jobs/5ac41551b90f48f9a907b281422a0977/logs/415785d7489d4d7ab9308be7a1e3e630/

Reviewers: ar

Reviewed By: ar

Subscribers: changesbot, wwu

Projects: #changes

Differential Revision: https://tails.corp.dropbox.com/D88637
  • Loading branch information
aroravishal committed Feb 6, 2015
1 parent 0930c27 commit f947442
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ install-requirements:
pip install -e . --use-mirrors --allow-external=argparse

install-test-requirements: install-requirements
# TODO(dcramer): we need an unreleased version due to https://github.com/spulec/moto/issues/91
pip install "file://`pwd`#egg=changes[tests]" --use-mirrors

test: lint test-python test-js
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'pytest-xdist>=1.9,<1.10',
'responses>=0.2.0,<0.3.0',
'unittest2>=0.5.1,<0.6.0',
'moto',
'moto>=0.3.0,<0.4.0',
]

install_requires = [
Expand Down

0 comments on commit f947442

Please sign in to comment.