Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-rnginline for
openSUSE:Factory checked in at 2021-10-11 15:31:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rnginline (Old)
and /work/SRC/openSUSE:Factory/.python-rnginline.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rnginline"
Mon Oct 11 15:31:18 2021 rev:4 rq:924237 version:0.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rnginline/python-rnginline.changes
2020-05-19 14:57:51.733317914 +0200
+++
/work/SRC/openSUSE:Factory/.python-rnginline.new.2443/python-rnginline.changes
2021-10-11 15:32:13.318903138 +0200
@@ -1,0 +2,5 @@
+Fri Oct 8 08:17:07 UTC 2021 - [email protected]
+
+- actually test the package, use %pytest macro
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rnginline.spec ++++++
--- /var/tmp/diff_new_pack.gyUxn8/_old 2021-10-11 15:32:13.690903735 +0200
+++ /var/tmp/diff_new_pack.gyUxn8/_new 2021-10-11 15:32:13.694903741 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-rnginline
#
-# 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
@@ -33,7 +33,7 @@
Requires: python-lxml
Requires: python-six
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Suggests: python-coverage
Suggests: python-mock
Suggests: python-pytest >= 2.6.4
@@ -41,7 +41,6 @@
%if %{with test}
BuildRequires: %{python_module docopt}
BuildRequires: %{python_module lxml}
-BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
%endif
@@ -65,7 +64,13 @@
%if %{with test}
%check
-%python_exec setup.py test
+pushd rnginline
+# test/test_rnginline.py:113: in <module>
+# test_testcases_testcases = _load_testcases()
+# [..]
+# E NotImplementedError: Can't perform this operation for unregistered
loader type
+rm test/test_{rnginline,cmdline}.py
+%pytest
%endif
%post