mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Add assertion for CLI output
This commit is contained in:
parent
1fff7efff5
commit
8ea3b82c50
1 changed files with 2 additions and 0 deletions
|
|
@ -159,6 +159,8 @@ def test_simple_run(tmpdir):
|
|||
|
||||
tmpdir.join('path_a/haha.txt').write('UID:haha')
|
||||
result = runner.invoke(cli.app, ['sync'])
|
||||
assert result.output == ('Syncing my_pair\n'
|
||||
'Copying (uploading) item haha to my_b\n')
|
||||
assert tmpdir.join('path_b/haha.txt').read() == 'UID:haha'
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue