django-oscar-testsupport-0.4.1
توضیحات
Testing utilities for Oscar
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-oscar-testsupport-0.4.1 |
| نام | django-oscar-testsupport |
| نسخه کتابخانه | 0.4.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | David Winterbottom |
| ایمیل نویسنده | david.winterbottom@tangentlabs.co.uk |
| آدرس صفحه اصلی | https://github.com/tangentlabs/django-oscar-testsupport |
| آدرس اینترنتی | https://pypi.org/project/django-oscar-testsupport/ |
| مجوز | Copyright (c) 2011, Tangent Communications PLC and individual contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of Tangent Communications PLC nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
===========================
Testing utilities for Oscar
===========================
Warning
-------
As of Oscar 0.6, this package has been merged back into Oscar, within the
``oscar/test`` package. There will be no 0.5 release of this package.
Description
-----------
A simple package to allow the test utils from Oscar to be used by other
packages.
Contents:
* A ``@dataProvider`` decorator for feeding test methods with different
datasets. This is a port of a useful PHPUnit feature.
* A ``ClientTestCase`` which provides useful boilerplate functionality for when
working with Django's test client. It can set-up users as part of the
``setUp`` method.
* A ``WebTestCase``, similar to the ``ClientTestCase`` but for working with
WebTest.
* Various factory methods for creating orders, products, offers and vouchers.
Install
------
Install with::
pip install django-oscar-testsupport
نحوه نصب
نصب پکیج whl django-oscar-testsupport-0.4.1:
pip install django-oscar-testsupport-0.4.1.whl
نصب پکیج tar.gz django-oscar-testsupport-0.4.1:
pip install django-oscar-testsupport-0.4.1.tar.gz