Testing utilities for Oscar
Project 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-oscar-testsupport-0.1.1.tar.gz
.
File metadata
- Download URL: django-oscar-testsupport-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eabd78f6fabe5d13bfd9b494af600337a837bf377938c0d2ab0b67e8d7df0e0 |
|
MD5 | 4d4b6e05c1fa0cd72c0623455796897b |
|
BLAKE2b-256 | e924008eb1d3843151cee935471828cf3bfea3477562f7aba428312c3e72aba0 |