mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Add compatibility with latest click
This commit is contained in:
parent
b1b4dd92fe
commit
3eb9ce5ae4
2 changed files with 5 additions and 2 deletions
2
setup.py
2
setup.py
|
|
@ -11,7 +11,7 @@ from setuptools import setup
|
||||||
|
|
||||||
requirements = [
|
requirements = [
|
||||||
# https://github.com/mitsuhiko/click/issues/200
|
# https://github.com/mitsuhiko/click/issues/200
|
||||||
'click>=5.0,<6.0',
|
'click>=5.0',
|
||||||
'click-log>=0.3.0, <0.4.0',
|
'click-log>=0.3.0, <0.4.0',
|
||||||
|
|
||||||
# https://github.com/pimutils/vdirsyncer/issues/478
|
# https://github.com/pimutils/vdirsyncer/issues/478
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,10 @@ def test_verbosity(tmpdir, runner):
|
||||||
runner.write_with_general('')
|
runner.write_with_general('')
|
||||||
result = runner.invoke(['--verbosity=HAHA', 'sync'])
|
result = runner.invoke(['--verbosity=HAHA', 'sync'])
|
||||||
assert result.exception
|
assert result.exception
|
||||||
assert 'invalid value for "--verbosity"' in result.output.lower()
|
assert (
|
||||||
|
'invalid value for "--verbosity"' in result.output.lower()
|
||||||
|
or "invalid value for '--verbosity'" in result.output.lower()
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_collections_cache_invalidation(tmpdir, runner):
|
def test_collections_cache_invalidation(tmpdir, runner):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue