From 97d65ab2228108f68447d2280a861be1326912e7 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Thu, 6 Aug 2015 11:27:42 +0200 Subject: [PATCH] Fix tests --- tests/cli/test_repair.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_repair.py b/tests/cli/test_repair.py index c1987c6..ecda8df 100644 --- a/tests/cli/test_repair.py +++ b/tests/cli/test_repair.py @@ -56,13 +56,13 @@ def test_full(tmpdir, runner): foo = tmpdir.mkdir('foo') - result = runner.invoke(['repair', 'foo']) + result = runner.invoke(['repair', 'foo'], input='y') assert not result.exception foo.join('item.txt').write('BEGIN:VCARD\nEND:VCARD') foo.join('toobroken.txt').write('') - result = runner.invoke(['repair', 'foo']) + result = runner.invoke(['repair', 'foo'], input='y') assert not result.exception assert 'No UID' in result.output assert 'warning: Item toobroken.txt can\'t be parsed, skipping' \