forked from pool/python-vdirsyncer
Accepting request 701268 from home:pgajdos
- added patches default deadline (200ms) is too short for obs + python-vdirsyncer-shift-deadline.patch OBS-URL: https://build.opensuse.org/request/show/701268 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=12
This commit is contained in:
committed by
Git OBS Bridge
parent
8b2414146a
commit
5c342cdb88
25
python-vdirsyncer-shift-deadline.patch
Normal file
25
python-vdirsyncer-shift-deadline.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
Index: vdirsyncer-0.16.7/tests/system/cli/test_sync.py
|
||||
===================================================================
|
||||
--- vdirsyncer-0.16.7.orig/tests/system/cli/test_sync.py 2018-07-19 21:07:31.000000000 +0200
|
||||
+++ vdirsyncer-0.16.7/tests/system/cli/test_sync.py 2019-05-07 08:59:40.114934546 +0200
|
||||
@@ -5,11 +5,10 @@ import sys
|
||||
from textwrap import dedent
|
||||
|
||||
import hypothesis.strategies as st
|
||||
-from hypothesis import example, given
|
||||
+from hypothesis import example, given, settings
|
||||
|
||||
import pytest
|
||||
|
||||
-
|
||||
def test_simple_run(tmpdir, runner):
|
||||
runner.write_with_general(dedent('''
|
||||
[pair my_pair]
|
||||
@@ -273,6 +272,7 @@ def test_multiple_pairs(tmpdir, runner):
|
||||
# XXX: https://github.com/pimutils/vdirsyncer/issues/617
|
||||
@pytest.mark.skipif(sys.platform == 'darwin',
|
||||
reason='This test inexplicably fails')
|
||||
+@settings(deadline=1000.0)
|
||||
@given(collections=st.sets(
|
||||
st.text(
|
||||
st.characters(
|
Reference in New Issue
Block a user