Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python310-pytest-django-4.5.2-5.4 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python310-pytest-django Distribution: openSUSE Tumbleweed
Version: 4.5.2 Vendor: openSUSE
Release: 5.4 Build date: Sun Jun 25 09:53:46 2023
Group: Unspecified Build host: reproducible
Size: 206985 Source RPM: python-pytest-django-4.5.2-5.4.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/pytest-dev/pytest-django
Summary: A Django plugin for Pytest
pytest-django allows testing Django projects/applications with the
pytest testing tool.

Running the test suite with pytest-django allows tapping into the features
that are already present in pytest:

* Manage test dependencies with pytest fixtures.
* Less boilerplate tests: no need to import unittest and creating a
  subclass with methods. Tests can be written as regular functions.
* Database re-use: no need to re-create the test database for every test run.
* Run tests in multiple processes for increased speed (with the pytest-xdist plugin).
* Make use of other pytest plugins.
* Works with both worlds: Existing unittest-style TestCase's still work without any modifications.

Provides

Requires

License

BSD-3-Clause

Changelog

* Sun Jun 25 2023 Andreas Schneider <asn@cryptomilk.org>
  - Use sle15_python_module_pythons
* Thu Dec 08 2022 pgajdos@suse.com
  - six is not required for build
* Mon Mar 28 2022 Ben Greiner <code@bnavigator.de>
  - Add pytest-django-pr996-pytest7.patch
    * gh#pytest-dev/pytest-django#996
* Tue Feb 22 2022 Matej Cepl <mcepl@suse.com>
  - Add autoclear_mailbox.patch checking for the existence of the
    mail.outbox before clearing it (gh#pytest-dev/pytest-django#993).
* Mon Dec 27 2021 Ben Greiner <code@bnavigator.de>
  - Update to 4.5.2
    * Bugfixes
    * Fix regression in v4.5.0 -
      pytest.mark.django_db(reset_sequence=True) now implies
      transaction=True again.
  - Release v4.5.1
    * Bugfixes
    * Fix regression in v4.5.0 - database tests inside (non-unittest)
      classes were not ordered correctly to run before non-database
      tests, same for transactional tests before non-transactional
      tests.
  - Release v4.5.0
    * Improvements
    * Add support for :ref:`rollback emulation/serialized rollback
      <test-case-serialized-rollback>`. The
      :func:`pytest.mark.django_db` marker has a new
      serialized_rollback option, and a
      :fixture:`django_db_serialized_rollback` fixture is added.
    * Official Python 3.10 support.
    * Official Django 4.0 support (tested against 4.0rc1 at the time
      of release).
    * Drop official Django 3.0 support. Django 2.2 is still
      supported, and 3.0 will likely keep working until 2.2 is
      dropped, but it's not tested.
    * Added pyproject.toml file.
    * Skip Django's setUpTestData mechanism in pytest-django tests.
      It is not used for those, and interferes with some planned
      features. Note that this does not affect setUpTestData in
      unittest tests (test classes which inherit from Django's
      TestCase).
    * Bugfixes
    * Fix :fixture:`live_server` when using an in-memory SQLite
      database.
    * Fix typing of assertTemplateUsed and assertTemplateNotUsed.
  - Release v4.4.0
    * Improvements
    * Add a fixture :fixture:`django_capture_on_commit_callbacks` to
      capture :func:`transaction.on_commit()
      <django.db.transaction.on_commit>` callbacks in tests.
  - Release v4.3.0
    * Improvements
    * Add experimental :ref:`multiple databases <multi-db>` (multi
      db) support.
    * Add type annotations. If you previously excluded pytest_django
      from your type-checker, you can remove the exclusion.
    * Documentation improvements.
  - Release v4.2.0
    * Improvements
    * Official Django 3.2 support.
    * Documentation improvements.
    * Bugfixes
    * Disable atomic durability check on non-transactional tests
      (#910).
  - Skip python36: no python36-Django 4 in TW
* Wed Oct 28 2020 John Vandenberg <jayvdb@gmail.com>
  - Disable Python 2
  - Drop no longer needed patches:
    * ignore-warnings.patch
    * pytest-django-pytest6.patch
  - Update to v4.1.0
    * Add the async_client and async_rf fixtures
    * Add django_debug_mode to configure how DEBUG is set in tests
    * Make admin_user work for custom user models without an email
      field.
  - from v4.0.0
    * Drop support for Python versions before 3.5
    * Drop support for Django versions before 2.2
    * Drop support for pytest versions before 5.4
    * Officialy support Python 3.9.
    * Add pytest_django.__version__
    * Make the admin_user and admin_client fixtures compatible with
      custom user models which don’t have a username field
    * Change the admin_user fixture to use get_by_natural_key()
      to get the user instead of directly using USERNAME_FIELD,
      in case it is overridden, and to match Django
* Wed Sep 02 2020 Benjamin Greiner <code@bnavigator.de>
  - Fix test failure with pytest 6
    * pytest-django-pytest6.patch
    * The patched call signature looks weird, but it works as intended
    * Patch is part of gh#pytest-dev/pytest-django#855
  - Replace deprecated py.test call with %pytest macro
* Mon Aug 24 2020 Marketa Calabkova <mcalabkova@suse.com>
  - Fix build with ignore-warnings.patch
* Fri Apr 03 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Update to 3.9.0:
    * Improve test ordering with Django test classes (#830)
    * Remove import of pkg_resources for parsing pytest version (performance) (#826)
    * Work around unittest issue with pytest 5.4.{0,1} (#825)
    * Don't break --failed-first when re-ordering tests (#819, #820)
    * pytest_addoption: use group.addoption (#833)
* Fri Mar 13 2020 Tomáš Chvátal <tchvatal@suse.com>
  - Fix build without python2

Files

/usr/lib/python3.10/site-packages/pytest_django
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/not-zip-safe
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/pytest_django-4.5.2-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/pytest_django/__init__.py
/usr/lib/python3.10/site-packages/pytest_django/__pycache__
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/_version.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/_version.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/asserts.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/asserts.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/django_compat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/django_compat.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/fixtures.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/fixtures.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/lazy_django.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/lazy_django.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/live_server_helper.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/live_server_helper.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/plugin.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/pytest_django/__pycache__/plugin.cpython-310.pyc
/usr/lib/python3.10/site-packages/pytest_django/_version.py
/usr/lib/python3.10/site-packages/pytest_django/asserts.py
/usr/lib/python3.10/site-packages/pytest_django/django_compat.py
/usr/lib/python3.10/site-packages/pytest_django/fixtures.py
/usr/lib/python3.10/site-packages/pytest_django/lazy_django.py
/usr/lib/python3.10/site-packages/pytest_django/live_server_helper.py
/usr/lib/python3.10/site-packages/pytest_django/plugin.py
/usr/lib/python3.10/site-packages/pytest_django/py.typed
/usr/share/doc/packages/python310-pytest-django
/usr/share/doc/packages/python310-pytest-django/AUTHORS
/usr/share/doc/packages/python310-pytest-django/README.rst
/usr/share/doc/packages/python310-pytest-django/changelog.rst
/usr/share/doc/packages/python310-pytest-django/configuring_django.rst
/usr/share/doc/packages/python310-pytest-django/contributing.rst
/usr/share/doc/packages/python310-pytest-django/database.rst
/usr/share/doc/packages/python310-pytest-django/faq.rst
/usr/share/doc/packages/python310-pytest-django/helpers.rst
/usr/share/doc/packages/python310-pytest-django/index.rst
/usr/share/doc/packages/python310-pytest-django/managing_python_path.rst
/usr/share/doc/packages/python310-pytest-django/tutorial.rst
/usr/share/doc/packages/python310-pytest-django/usage.rst
/usr/share/licenses/python310-pytest-django
/usr/share/licenses/python310-pytest-django/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024