mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-09 11:26:00 +00:00
parent
a1532f36f6
commit
66c6f31c8b
1 changed files with 0 additions and 21 deletions
|
|
@ -131,27 +131,6 @@ def test_verbosity(tmpdir, runner):
|
|||
assert 'invalid value for "--verbosity"' in result.output.lower()
|
||||
|
||||
|
||||
def test_deprecated_item_status(tmpdir):
|
||||
f = tmpdir.join('mypair.items')
|
||||
f.write(dedent('''
|
||||
["ident", ["href_a", "etag_a", "href_b", "etag_b"]]
|
||||
["ident_two", ["href_a", "etag_a", "href_b", "etag_b"]]
|
||||
''').strip())
|
||||
|
||||
data = {
|
||||
'ident': ['href_a', 'etag_a', 'href_b', 'etag_b'],
|
||||
'ident_two': ['href_a', 'etag_a', 'href_b', 'etag_b']
|
||||
}
|
||||
|
||||
assert cli.utils.load_status(
|
||||
str(tmpdir), 'mypair', data_type='items') == data
|
||||
|
||||
cli.utils.save_status(
|
||||
str(tmpdir), 'mypair', data_type='items', data=data)
|
||||
assert cli.utils.load_status(
|
||||
str(tmpdir), 'mypair', data_type='items') == data
|
||||
|
||||
|
||||
def test_collections_cache_invalidation(tmpdir, runner):
|
||||
foo = tmpdir.mkdir('foo')
|
||||
bar = tmpdir.mkdir('bar')
|
||||
|
|
|
|||
Loading…
Reference in a new issue