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

Commit

Permalink
#20 Fix stalling interactive test prompting for even/odd url
Browse files Browse the repository at this point in the history
The test stalled because it was waiting for userinput for even & odd url.

Fix #20
Close #16
  • Loading branch information
mikkeloscar committed Jul 15, 2016
1 parent 606919b commit e4db4b0
Showing 1 changed file with 1 addition and 1 deletion.
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 e4db4b0

Please sign in to comment.