python-lexicon/add-pytest-ini.patch
Steve Kowalik c69250596c - Update to 2.0.1:
* Fix up some project metadata.
  * Dropped support for Python <3.6
  * Added a _version submodule and imported its dunder-attributes into
    the top level module
  * Migrated CI to CircleCI (from Travis)
  * Migrated tests to pytest(-relaxed)
  * Moved changelog to stub Sphinx project for Releases plugin
  * Changed README to ReStructured Text (from Markdown) 
- Dropped patch add_test_init.patch, no longer required.
- Added patch add-pytest-ini.patch:
  * Add the pytest.ini file that isn't included in the source distribution
    so the testsuite works.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lexicon?expand=0&rev=8
2021-09-17 03:51:30 +00:00

9 lines
206 B
Diff

Index: lexicon-2.0.1/pytest.ini
===================================================================
--- /dev/null
+++ lexicon-2.0.1/pytest.ini
@@ -0,0 +1,3 @@
+[pytest]
+testpaths = tests
+python_files = *