From 4ea0fab37e58ec8db0187015149961eba8d3bfed58a9b6b62139d2721d5eacbe Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 4 Mar 2022 10:03:30 +0000 Subject: [PATCH] Accepting request 959343 from home:pgajdos:python - disable flaky test_until_time OBS-URL: https://build.opensuse.org/request/show/959343 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-schedule?expand=0&rev=13 --- python-schedule.changes | 5 +++++ python-schedule.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-schedule.changes b/python-schedule.changes index c1636b2..a381c63 100644 --- a/python-schedule.changes +++ b/python-schedule.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 4 08:04:55 UTC 2022 - pgajdos@suse.com + +- disable flaky test_until_time + ------------------------------------------------------------------- Mon Nov 8 12:18:51 UTC 2021 - Dirk Müller diff --git a/python-schedule.spec b/python-schedule.spec index fe98c35..3951a2d 100644 --- a/python-schedule.spec +++ b/python-schedule.spec @@ -1,7 +1,7 @@ # # spec file for package python-schedule # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ URL: https://github.com/dbader/schedule Source: https://files.pythonhosted.org/packages/source/s/schedule/schedule-%{version}.tar.gz # https://github.com/dbader/schedule/issues/484 Patch0: python-schedule-no-mock.patch +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -50,7 +51,8 @@ pattern for configuration. Schedule lets the user run Python functions %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest discover -v +# test_until_time: https://github.com/dbader/schedule/issues/488 +%pytest -k 'not test_until_time' %files %{python_files} %doc README.rst