Hello community,
here is the log from the commit of package python-pytest-randomly for
openSUSE:Factory checked in at 2019-02-25 17:51:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-randomly (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-randomly.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-randomly"
Mon Feb 25 17:51:13 2019 rev:2 rq:676166 version:1.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-randomly/python-pytest-randomly.changes
2019-02-01 11:48:45.372348493 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-randomly.new.28833/python-pytest-randomly.changes
2019-02-25 17:51:15.146756551 +0100
@@ -1,0 +2,5 @@
+Thu Feb 14 15:24:04 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Make sure we execute tests
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-randomly.spec ++++++
--- /var/tmp/diff_new_pack.1RomKa/_old 2019-02-25 17:51:16.042756063 +0100
+++ /var/tmp/diff_new_pack.1RomKa/_new 2019-02-25 17:51:16.046756061 +0100
@@ -25,13 +25,16 @@
Group: Development/Languages/Python
URL: https://github.com/adamchainz/pytest-randomly
Source:
https://files.pythonhosted.org/packages/source/p/pytest-randomly/pytest-randomly-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-Faker
Requires: python-pytest
BuildArch: noarch
# SECTION test requirements
+BuildRequires: %{python_module Faker}
+BuildRequires: %{python_module factory_boy}
+BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
@@ -40,7 +43,6 @@
Pytest plugin to randomly order tests and control random.seed.
Features:
-
* Randomly shuffles the order of test items. This is done first at
the level of modules, then at the level of test classes (if you
have them), then at the order of functions. This also works with
@@ -67,9 +69,8 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# Tests require a full terminal
-# %%check
-# %%python_expand pytest-%%{$python_bin_suffix}
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} -v
%files %{python_files}
%doc AUTHORS.rst README.rst