forked from pool/python-pyudev
Matej Cepl
88151c10b0
* Remove another flakey test * Remove all traces of tox * Update next Fedora to 35 * Delete a test which is probably flakey for real * Bump recommended development environment to fedora 34 * Use yamllint on all the configuration files * Add annotations to GitHub workflows * No longer use --recursive for isort * Update formatting for new black * Establish a weekly task for future fedora - Remove upstreamed patches: - remove_mock.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=45
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
---
|
|
tests/test_enumerate.py | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 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
|
|
@@ -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
|