Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from zalando-stups/fix-stalling-tests-20
Browse files Browse the repository at this point in the history
Fix stalling tests 20
  • Loading branch information
Raffo authored Jul 15, 2016
2 parents 6d91db9 + 7ba4460 commit 533d010
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ python:
install:
- pip install -r requirements.txt
- pip install coveralls
- pip install flake8
script:
- python setup.py test
- python setup.py flake8
Expand Down
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ See the `STUPS documentation on Più`_ for details.

.. _STUPS documentation on Più: http://stups.readthedocs.org/en/latest/components/piu.html

Running Unit Tests
==================

.. code-block:: bash
$ python3 setup.py test --cov-html=true
Releasing
=========

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ def test_interactive_success(monkeypatch):
input_stream = '\n'.join(['eu-west-1', '1', 'Troubleshooting']) + '\n'

with runner.isolated_filesystem():
result = runner.invoke(cli, ['request-access', '--interactive'], input=input_stream, catch_exceptions=False)
result = runner.invoke(cli, ['request-access', '--interactive', '--even-url=https://localhost/', '--odd-host=odd.example.org'], input=input_stream, catch_exceptions=False)

assert request_access.called

0 comments on commit 533d010

Please sign in to comment.