John Vandenberg
cde70911e5
Accepting request 1041365 from home:pgajdos:python
...
- six is not required for build
OBS-URL: https://build.opensuse.org/request/show/1041365
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=33
2022-12-08 12:08:45 +00:00
95bfe85a28
Accepting request 965500 from home:bnavigator:branches:devel:languages:python:django
...
- Add pytest-django-pr996-pytest7.patch
* gh#pytest-dev/pytest-django#996
OBS-URL: https://build.opensuse.org/request/show/965500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=31
2022-03-29 19:46:20 +00:00
6a54bccfb6
Accepting request 956874 from home:mcepl:branches:devel:languages:python
...
- Add autoclear_mailbox.patch checking for the existence of the
mail.outbox before clearing it (gh#pytest-dev/pytest-django#993).
OBS-URL: https://build.opensuse.org/request/show/956874
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=30
2022-02-22 21:28:13 +00:00
c1a65e39b5
Accepting request 942800 from home:bnavigator:py310
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/942800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=29
2021-12-27 16:49:28 +00:00
61e17c917f
Accepting request 844695 from home:jayvdb:pytest
...
- Disable Python 2
- Drop no longer needed patches:
* ignore-warnings.patch
* pytest-django-pytest6.patch
- Update to v4.1.0
OBS-URL: https://build.opensuse.org/request/show/844695
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=27
2020-10-29 09:41:58 +00:00
Tomáš Chvátal
d6f003cfa6
Accepting request 831464 from home:bnavigator:pytest6
...
- 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
OBS-URL: https://build.opensuse.org/request/show/831464
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=25
2020-09-02 13:27:37 +00:00
Tomáš Chvátal
e019a9a285
Accepting request 828921 from home:mcalabkova:branches:devel:languages:python:django
...
- Fix build with ignore-warnings.patch
OBS-URL: https://build.opensuse.org/request/show/828921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=24
2020-08-24 16:32:00 +00:00
Tomáš Chvátal
e4f0dce9d2
- 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 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=22
2020-04-03 10:24:31 +00:00
Tomáš Chvátal
c0e110e61d
- Fix build without python2
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=20
2020-03-13 12:44:51 +00:00
Tomáš Chvátal
2cfb30340f
- Update 3.8.0:
...
* Make Django's assertion helpers available in pytest_django.asserts (#709 ).
* Report django-configurations setting (#791 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=18
2020-01-23 08:52:19 +00:00
Tomáš Chvátal
5a0fde3464
- Update to 3.7.0:
...
* Monkeypatch pytest to not use ``TestCase.debug`` with unittests, instead
of patching it into Django (#782 ).
* Work around pytest crashing due to ``pytest.fail`` being used from within the
DB blocker, and pytest trying to display an object representation involving
DB access (#781 ). pytest-django uses a ``RuntimeError`` now instead.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=16
2019-11-15 10:52:28 +00:00
Tomáš Chvátal
1fe7db01c4
- Update to 3.6.0:
...
* Rename test databases when running parallel Tox (#678 , #680 )
* Django unittests: restore "debug" function (#769 , #771 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=14
2019-10-30 11:58:45 +00:00
Tomáš Chvátal
64ed3c4373
- Siplify the deps
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=11
2019-08-22 13:40:57 +00:00
Tomáš Chvátal
ac51895189
- Update to 3.5.1:
...
* Fix compatibility with pytest 5.x (#751 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=9
2019-07-02 12:12:53 +00:00
Tomáš Chvátal
5fb6336530
- Update to 3.5.0:
...
* Run tests in the same order as Django (#223 )
* Use verbosity=0 with disabled migrations (#729 , #730 )
* django_db_setup: warn instead of crash with teardown errors (#726 )
* tests: fix test_sqlite_database_renamed (#739 , #741 )
* tests/conftest.py: move import of db_helpers (#737 )
* Cleanup/improve coverage, mainly with tests (#706 )
* Slightly revisit unittest handling (#740 )
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=7
2019-06-17 12:14:19 +00:00
Tomáš Chvátal
6163669d43
- Update to 3.4.8:
...
* Various test fixes only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=5
2019-02-27 13:33:53 +00:00
Tomáš Chvátal
df89946b65
Accepting request 678514 from home:jayvdb:django
...
- Add docs/ and AUTHORS to %doc
- Update to v3.4.7
* Fix disabling/handling of unittest methods with pytest 4.2+
- from 3.4.6
* django_find_project: add cwd as fallback always
* Enable tests for Django 2.2 and add classifier
- from 3.4.5
* Use request.config instead of pytest.config
* fixture 'admin_user' handle "email" username_field
* Minor doc fixes
- Add 'six' as explicit build dependency
OBS-URL: https://build.opensuse.org/request/show/678514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-pytest-django?expand=0&rev=4
2019-02-25 08:51:23 +00:00
Dominique Leuenberger
917835e4a0
Accepting request 656867 from devel:languages:python:django
...
- Version update to 3.4.4:
* Many many changes to list properly
- Drop obsolete patch python-pytest-django-dependency.patch
OBS-URL: https://build.opensuse.org/request/show/656867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=3
2018-12-13 18:48:20 +00:00
Dominique Leuenberger
7420cfe289
Accepting request 535252 from devel:languages:python
...
Automatic submission by obs-autosubmit
OBS-URL: https://build.opensuse.org/request/show/535252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=2
2017-10-20 12:47:07 +00:00
Dominique Leuenberger
1901daa764
Accepting request 533036 from devel:languages:python
...
Required by python-django-nose
See request 531880 : https://build.opensuse.org/request/show/531880
OBS-URL: https://build.opensuse.org/request/show/533036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=1
2017-10-18 08:50:34 +00:00