14
0
forked from pool/python-wmctrl

Accepting request 1061086 from home:jayvdb:branches:devel:languages:python

- Remove use of deprecated py.test in tests.

OBS-URL: https://build.opensuse.org/request/show/1061086
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wmctrl?expand=0&rev=6
This commit is contained in:
John Vandenberg
2023-01-26 01:36:13 +00:00
committed by Git OBS Bridge
parent 703e63009c
commit d563cba836
2 changed files with 10 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ Python tool to programmatically control windows inside X.
%prep
%setup -q -n wmctrl-%{version}
sed -i 's/\(py$\|py\.test\)/pytest/g' test/test_wmctrl.py
%build
%python_build
@@ -69,6 +71,8 @@ xvfb-run /tmp/test_script.sh
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/wmctrl.py*
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/wmctrl*/
%changelog