Skip to content

Commit

Permalink
Fix tests for --execute command
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Rosa committed Nov 5, 2016
1 parent dbe05e8 commit 00fa9b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_main.py
Expand Up @@ -53,7 +53,7 @@ def test_execute_arg(executor):

expected = 'a\nabc\n'

assert result.output == expected
assert expected in result.output


@dbtest
Expand All @@ -67,7 +67,7 @@ def test_execute_arg_with_table(executor):
expected = '+-----+\n| a |\n|-----|\n| abc |\n+-----+\n'

assert result.exit_code == 0
assert result.output == expected
assert expected in result.output


@dbtest
Expand All @@ -81,7 +81,7 @@ def test_execute_arg_with_csv(executor):
expected = 'a\nabc\n\n'

assert result.exit_code == 0
assert result.output == expected
assert expected in result.output


@dbtest
Expand Down

0 comments on commit 00fa9b2

Please sign in to comment.