#3 Utilize pytest and actually run the tests
Merged 2 years ago by jujens. Opened 2 years ago by cstratak.
rpms/ cstratak/python-glob2 use_pytest  into  f36

file modified
+6 -4
@@ -5,7 +5,7 @@ 

  

  Name:           python-%{pkg_name}

  Version:        0.7

- Release:        11%{?dist}

+ Release:        12%{?dist}

  Summary:        Glob module recursive wildcards support

  

  License:        BSD
@@ -22,7 +22,7 @@ 

  Summary:        %{summary}

  BuildRequires:  python3-devel

  BuildRequires:  python3-setuptools

- BuildRequires:  python3-nose

+ BuildRequires:  python3-pytest

  Requires:       python3-setuptools

  %{?python_provide:%python_provide python3-%{pkg_name}}

  
@@ -40,9 +40,8 @@ 

  %install

  %py3_install

  

- 

  %check

- PYTHONPATH=build/lib %{__python3} -m unittest discover

+ %pytest test.py

  

  

  %files -n python3-%{pkg_name}
@@ -53,6 +52,9 @@ 

  

  

  %changelog

+ * Thu Feb 24 2022 Charalampos Stratakis <cstratak@redhat.com> - 0.7-12

+ - Utilize pytest and actually run the tests

+ 

  * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-11

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

  

no initial comment

Pull-Request has been merged by jujens

2 years ago
Metadata