Restructure tests

This commit is contained in:
Markus Unterwaditzer 2017-02-11 22:53:12 +01:00
parent c87848fd03
commit ff5732f5ff

View file

@ -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('''