mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-01 10:05:50 +00:00
Cosmetic improvements
This commit is contained in:
parent
8c1ae4f099
commit
403a683e70
3 changed files with 3 additions and 3 deletions
|
|
@ -234,7 +234,7 @@ def test_invalid_pairs_as_cli_arg(tmpdir, runner):
|
|||
|
||||
result = runner.invoke(['sync', 'foobar/d'])
|
||||
assert result.exception
|
||||
assert 'pair foobar: collection d not found' in result.output.lower()
|
||||
assert 'pair foobar: collection "d" not found' in result.output.lower()
|
||||
|
||||
|
||||
def test_multiple_pairs(tmpdir, runner):
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ def prepare_pair(wq, pair_name, collections, config, callback, **kwargs):
|
|||
'Pair {}: Collection {} not found. These are the '
|
||||
'configured collections:\n{}'
|
||||
.format(pair_name,
|
||||
coerce_native(collection_name),
|
||||
json.dumps(collection_name),
|
||||
list(all_collections)))
|
||||
new_workers += 1
|
||||
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ def _handle_collection_not_found(config, collection, e=None):
|
|||
|
||||
cli_logger.error('{}No collection {} found for storage {}.'
|
||||
.format('{}\n'.format(e) if e else '',
|
||||
coerce_native(collection), storage_name))
|
||||
json.dumps(collection), storage_name))
|
||||
|
||||
if click.confirm('Should vdirsyncer attempt to create it?'):
|
||||
storage_type = config['type']
|
||||
|
|
|
|||
Loading…
Reference in a new issue