Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python3-pyudev.29613
hypothesis_settings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hypothesis_settings.patch of Package python3-pyudev.29613
--- tests/test_enumerate.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/tests/test_enumerate.py +++ b/tests/test_enumerate.py @@ -91,7 +91,7 @@ class TestEnumerator(object): @failed_health_check_wrapper @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY) - @settings(max_examples=10) + @settings(max_examples=10, deadline=None) def test_match_subsystem(self, context, subsystem): """ Subsystem match matches devices w/ correct subsystem. @@ -129,7 +129,7 @@ class TestEnumerator(object): @failed_health_check_wrapper @given(_CONTEXT_STRATEGY, _SUBSYSTEM_STRATEGY) - @settings(max_examples=1) + @settings(max_examples=1, deadline=500) def test_match_subsystem_nomatch_complete(self, context, subsystem): """ 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 unique_by=lambda p: p[0], ), ) - @settings(max_examples=2) + @settings(max_examples=2, deadline=500) def test_combined_property_matches(self, context, ppairs): """ 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.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor