14
0

- Modify test_ece.py to stop using nose.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-http-ece?expand=0&rev=3
This commit is contained in:
2021-09-29 01:27:14 +00:00
committed by Git OBS Bridge
parent c47aae39d0
commit 09d98b1b74
3 changed files with 44 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-http-ece
#
# 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
@@ -35,7 +35,7 @@ BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module cryptography >= 2.5}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -54,7 +54,7 @@ cp %{SOURCE1} %{SOURCE2} .
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m nose
%pytest
%files %{python_files}
%doc README.rst