Stylefixes

This commit is contained in:
Markus Unterwaditzer 2016-08-26 08:34:32 +02:00
parent 3c7c1f5f67
commit 0de8415183

View file

@ -1,11 +1,11 @@
from vdirsyncer.storage.base import Storage
from vdirsyncer import exceptions
from hypothesis import given
import hypothesis.strategies as st
from textwrap import dedent
import hypothesis.strategies as st
from hypothesis import given
from vdirsyncer import exceptions
from vdirsyncer.storage.base import Storage
def test_discover_command(tmpdir, runner):
runner.write_with_general(dedent('''
@ -181,6 +181,7 @@ def test_collection_required(a_requires, b_requires, tmpdir, runner,
class TestStorage(Storage):
storage_name = 'test'
def __init__(self, require_collection, **kw):
if require_collection:
assert not kw.get('collection')