forked from pool/python-pyudev
Update hypothesis_settings.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=47
This commit is contained in:
parent
d23d5accd5
commit
2830b6e63e
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
tests/test_enumerate.py | 6 +++---
|
tests/test_enumerate.py | 10 +++++-----
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
--- a/tests/test_enumerate.py
|
--- a/tests/test_enumerate.py
|
||||||
+++ b/tests/test_enumerate.py
|
+++ b/tests/test_enumerate.py
|
||||||
@ -22,6 +22,15 @@
|
|||||||
def test_match_subsystem_nomatch_complete(self, context, subsystem):
|
def test_match_subsystem_nomatch_complete(self, context, subsystem):
|
||||||
"""
|
"""
|
||||||
Test that w/ respect to the universe of devices returned by
|
Test that w/ respect to the universe of devices returned by
|
||||||
|
@@ -147,7 +147,7 @@ class TestEnumerator(object):
|
||||||
|
|
||||||
|
@failed_health_check_wrapper
|
||||||
|
@given(_CONTEXT_STRATEGY, _SYSNAME_STRATEGY)
|
||||||
|
- @settings(max_examples=5)
|
||||||
|
+ @settings(max_examples=5, deadline=500)
|
||||||
|
def test_match_sys_name(self, context, sysname):
|
||||||
|
"""
|
||||||
|
A sysname lookup only gives devices with that sysname.
|
||||||
@@ -221,7 +221,7 @@ class TestEnumeratorMatchCombinations(ob
|
@@ -221,7 +221,7 @@ class TestEnumeratorMatchCombinations(ob
|
||||||
unique_by=lambda p: p[0],
|
unique_by=lambda p: p[0],
|
||||||
),
|
),
|
||||||
@ -31,3 +40,12 @@
|
|||||||
def test_combined_property_matches(self, context, ppairs):
|
def test_combined_property_matches(self, context, ppairs):
|
||||||
"""
|
"""
|
||||||
Test for behaviour as observed in #1
|
Test for behaviour as observed in #1
|
||||||
|
@@ -246,7 +246,7 @@ class TestEnumeratorMatchCombinations(ob
|
||||||
|
_SYSNAME_STRATEGY,
|
||||||
|
_MATCH_PROPERTY_STRATEGY,
|
||||||
|
)
|
||||||
|
- @settings(max_examples=10)
|
||||||
|
+ @settings(max_examples=10, deadline=500)
|
||||||
|
def test_match(self, context, subsystem, sysname, ppair):
|
||||||
|
"""
|
||||||
|
Test that matches from different categories are a conjunction.
|
||||||
|
Loading…
Reference in New Issue
Block a user