Skip to content

Commit

Permalink
issue #39: remove redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjqiu committed Jul 30, 2016
1 parent b4261fe commit 829e0a2
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/integration/test_repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,30 +406,6 @@ def test_pipe_commands_multiple_pipes(environment, couch_server):
assert {'william', 'bill'} == set(map(str.strip, output))


def test_pipe_commands_command_error(environment, couch_server):
db = couch_server.create('test')
environment.current_db = db
_, file_path = tempfile.mkstemp()
with io.open(file_path, 'w') as f:
environment.output_stream = f
# TODO: expect BrokenPipeError
eval_(environment, couch_server, 'ls | grep')

_get_pipe_output(file_path, expect_empty_output=True)


def test_pipe_commands_error_in_pipe(environment, couch_server):
db = couch_server.create('test')
environment.current_db = db
_, file_path = tempfile.mkstemp()
with io.open(file_path, 'w') as f:
environment.output_stream = f
# TODO: expect BrokenPipeError
eval_(environment, couch_server, 'ls | grep | grep hello')

_get_pipe_output(file_path, expect_empty_output=True)


def test_pipe_error(environment, couch_server):
db = couch_server.create('test')
environment.current_db = db
Expand Down

0 comments on commit 829e0a2

Please sign in to comment.