mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Restructure tests
This commit is contained in:
parent
c87848fd03
commit
ff5732f5ff
1 changed files with 5 additions and 5 deletions
|
|
@ -315,6 +315,11 @@ def test_create_collections(subtest, collections):
|
|||
)
|
||||
assert not result.exception, result.output
|
||||
|
||||
result = runner.invoke(
|
||||
['sync'] + ['foobar/' + x for x in collections]
|
||||
)
|
||||
assert not result.exception, result.output
|
||||
|
||||
# Macs normally operate on the HFS+ file system which normalizes paths.
|
||||
# That is, if you save a file with accented é in it (u'\xe9') for
|
||||
# example, and then do a os.listdir you will see that the filename got
|
||||
|
|
@ -333,11 +338,6 @@ def test_create_collections(subtest, collections):
|
|||
u(x.basename for x in tmpdir.join('bar').listdir()) == \
|
||||
u(collections)
|
||||
|
||||
result = runner.invoke(
|
||||
['sync'] + ['foobar/' + x for x in collections]
|
||||
)
|
||||
assert not result.exception, result.output
|
||||
|
||||
|
||||
def test_ident_conflict(tmpdir, runner):
|
||||
runner.write_with_general(dedent('''
|
||||
|
|
|
|||
Loading…
Reference in a new issue