Skip to content

Commit

Permalink
add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
alingse committed Mar 10, 2020
1 parent 62ef761 commit 848ed7e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_jsoncsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ def test_jsoncsv_with_error_args(self):
result = runner.invoke(jsoncsv, args=args)
assert result.exit_code != 0

def test_jsoncsv_with_error_sep_args(self):
runner = CliRunner()
args = ['-s', '\\', '-e', 'fixture/files/raw.0.json',
'fixture/files/tmp.expand.0.json']
result = runner.invoke(jsoncsv, args=args)
assert result.exit_code != 0

def test_jsoncsv_with_error_args_expand_and_restore(self):
runner = CliRunner()
args = ['-r', '-e', 'fixture/files/raw.0.json',
Expand Down

0 comments on commit 848ed7e

Please # to comment.