From e5ce524ce16253dce40e37c6636a3f6c9f945c52202ce09724cc14b47f433c40 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Jun 2021 18:34:15 +0000 Subject: [PATCH] Accepting request 899830 from home:stroeder:iam - Use %pyunittest, dropped build dependency on pytest OBS-URL: https://build.opensuse.org/request/show/899830 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrad?expand=0&rev=11 --- python-pyrad.changes | 5 +++++ python-pyrad.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-pyrad.changes b/python-pyrad.changes index ccc360a..93fd6aa 100644 --- a/python-pyrad.changes +++ b/python-pyrad.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 13 19:00:10 UTC 2021 - Michael Ströder + +- Use %pyunittest, dropped build dependency on pytest + ------------------------------------------------------------------- Wed Dec 16 10:46:08 UTC 2020 - Michael Ströder diff --git a/python-pyrad.spec b/python-pyrad.spec index 70c1a6e..f07ab57 100644 --- a/python-pyrad.spec +++ b/python-pyrad.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyrad # -# 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 @@ -25,7 +25,6 @@ License: BSD-3-Clause URL: https://github.com/pyradius/pyrad Source0: https://github.com/pyradius/pyrad/archive/%{version}.tar.gz BuildRequires: %{python_module netaddr} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: netcfg @@ -49,7 +48,7 @@ them and decoding responses. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -v -s tests/test*.py +%pyunittest discover -v %files %{python_files} %license LICENSE.txt