./www/py-test-django, Django plugin for pytest

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.5.1, Package name: py37-test-django-3.5.1, Maintainer: pkgsrc-users

pytest-django allows you to test your Django project/applications with the
pytest testing tool.

Running your test suite with pytest-django allows you to tap into the features
that are already present in pytest. Here are some advantages:
* Manage test dependencies with pytest fixtures.
* Less boilerplate tests: no need to import unittest, create a subclass with
methods. Write tests 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.


Required to run:
[devel/py-setuptools] [devel/py-test] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 679e5fbcb84afbc1850c1e17284daa419b87ab3a
RMD160: 067af99ba9e985e00cbbaad2f415def8eed0a98e
Filesize: 66.18 KB

Version history: (Expand)


CVS history: (Expand)


   2019-07-01 13:02:31 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.5.1

3.5.1:
Bugfixes
Fix compatibility with pytest 5.x
   2019-06-05 07:14:05 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.5.0

3.5.0:

Features
* Run tests in the same order as Django
* Use verbosity=0 with disabled migrations

Bugfixes
* django_db_setup: warn instead of crash with teardown errors

Misc
* tests: fix test_sqlite_database_renamed
* tests/conftest.py: move import of db_helpers
* Cleanup/improve coverage, mainly with tests
* Slightly revisit unittest handling
   2019-02-27 13:07:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-django: updated to 3.4.8

3.4.8:
Fix DB renaming fixture for Multi-DB environment with SQLite
   2019-02-06 09:51:48 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.4.7

3.4.7:
Bugfixes
* Fix disabling/handling of unittest methods with pytest 4.2+

3.4.6:
Bugfixes
* django_find_project: add cwd as fallback always

Misc
* Enable tests for Django 2.2 and add classifier
* Disallow pytest 4.2.0 in install_requires
   2019-01-08 10:13:11 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.4.5

3.4.5:

Bugfixes
* Use request.config instead of pytest.config
* :fixture:admin_user: handle "email" username_field

Misc
* Minor doc fixes
* tests: fix for pytest 4
   2018-11-14 10:10:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.4.4

3.4.4:

Bugfixes
* Refine the django.conf module check to see if the settings really are
  configured.
* Avoid crash after OSError during Django path detection.

Features
* Add parameter info to fixture assert_num_queries to display additional message \ 
on failure.

Docs
* Improve doc for django_assert_num_queries/django_assert_max_num_queries.
* Add warning about sqlite specific snippet + fix typos.

Misc
* MANIFEST.in: include tests for downstream distros.
* Ensure that the LICENSE file is included in wheels.
* Run black on source.
   2018-10-02 10:45:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.4.3

3.4.3:

Bugfixes
Fix OSError with arguments containing :: on Windows
   2018-08-28 13:02:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-django: updated to 3.4.2

3.4.2:
Bugfixes
- Changed dependency for pathlib to pathlib2.
- Fixed code for inserting the project to sys.path with pathlib to use an \ 
absolute path, regression in 3.4.0