Skip to content

Commit

Permalink
Fixed query assertion with revered dict
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed May 12, 2018
1 parent fb32e79 commit 88d316b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def test_cli_from_shell():
def test_cli_no_args(runner):
result = runner.invoke(pipes)
assert result.exit_code == 1
data = '{"query": "", "envs": 2}'
assert data in result.output
assert 'query": ""' in result.output
assert 'envs": 2}' in result.output


@pytest.mark.skip('Not needed')
Expand All @@ -50,8 +50,8 @@ def test_cli_no_args_verbose(runner):
def test_many_match(runner):
result = runner.invoke(pipes, args=['proj'])
assert result.exit_code == 1
data = '{"query": "proj", "envs": 2}'
assert data in result.output
assert 'query": "proj"' in result.output
assert 'envs": 2' in result.output


def test_cli_list(runner):
Expand Down

0 comments on commit 88d316b

Please sign in to comment.