Accepting request 710346 from devel:languages:python:django

- 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/request/show/710346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-django?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2019-06-17 19:34:46 +00:00 committed by Git OBS Bridge
commit 06d3a7429e
4 changed files with 17 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d3283e774fe1d40630ee58bf34929b83875e4751b525eeb07a7506996eb42ee
size 67335

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11a9ab9fceb2f819a0e94ba4eab791f998542f4e29eb36500cb9464dd3b4c3b6
size 67577

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jun 17 12:07:05 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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)
-------------------------------------------------------------------
Wed Feb 27 13:33:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-django
Version: 3.4.8
Version: 3.5.0
Release: 0
Summary: A Django plugin for py.test
License: BSD-3-Clause
@ -71,7 +71,7 @@ that are already present in pytest:
%check
# memory operations failed in OBS not localy, thus skip them
export DJANGO_SETTINGS_MODULE=pytest_django_test.settings_sqlite
%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} tests/ -k 'not test_sqlite_in_memory_used'
%python_expand PYTHONPATH=$(pwd) py.test-%{$python_bin_suffix} -v tests/ -k 'not (test_sqlite_in_memory_used or test_django_assert_num_queries_db or test_django_assert_max_num_queries_db)'
%files %{python_files}
%license LICENSE