Accepting request 911252 from home:mcepl:branches:devel:languages:python
- Add hypothesis_settings.patch to allow longer timeouts in OBS. OBS-URL: https://build.opensuse.org/request/show/911252 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=42
This commit is contained in:
parent
7866c35105
commit
853ff014cd
15
hypothesis_settings.patch
Normal file
15
hypothesis_settings.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
tests/test_enumerate.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/tests/test_enumerate.py
|
||||
+++ b/tests/test_enumerate.py
|
||||
@@ -126,7 +126,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
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 10 12:49:04 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add hypothesis_settings.patch to allow longer timeouts in OBS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 12 13:12:21 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyudev
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -30,6 +30,9 @@ Source0: https://files.pythonhosted.org/packages/source/p/pyudev/pyudev-%
|
||||
Patch0: pytest_register_mark.patch
|
||||
# PATCH-FEATURE_UPSTREAM remove_mock.patch gh#pyudev/pyudev#409
|
||||
Patch1: remove_mock.patch
|
||||
# PATCH-FIX-OPENSUS hypothesis_settings.patch bugno mcepl@suse.com
|
||||
# tests timeout on OBS
|
||||
Patch2: hypothesis_settings.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
|
Loading…
Reference in New Issue
Block a user