mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Stylefixes
This commit is contained in:
parent
3c7c1f5f67
commit
0de8415183
1 changed files with 7 additions and 6 deletions
|
|
@ -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
|
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):
|
def test_discover_command(tmpdir, runner):
|
||||||
runner.write_with_general(dedent('''
|
runner.write_with_general(dedent('''
|
||||||
|
|
@ -181,6 +181,7 @@ def test_collection_required(a_requires, b_requires, tmpdir, runner,
|
||||||
|
|
||||||
class TestStorage(Storage):
|
class TestStorage(Storage):
|
||||||
storage_name = 'test'
|
storage_name = 'test'
|
||||||
|
|
||||||
def __init__(self, require_collection, **kw):
|
def __init__(self, require_collection, **kw):
|
||||||
if require_collection:
|
if require_collection:
|
||||||
assert not kw.get('collection')
|
assert not kw.get('collection')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue