Boilerplate steps for testing Django with Behave
Project description
behave-django-steps
reduce boilerplate in your behave steps for Django
WIP
Caveats
When loading auth.Permission
fixtures you must consider that Django
automatically creates basic permissions for models.
If you're trying to load custom permissions after writing the Permission.json
fixture
you need to delete the default permissions from the fixture, or json.loads it and filter
on only your custom permissions.
Because the permission was already created by Django, if you try to load it
you will get an IntegrityError
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
behave_django_steps-0.7.1.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for behave_django_steps-0.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d25aff3ec11744401c87f636a964c0ef400009da13df6b615410adcb2dfcfb9 |
|
MD5 | 3c688946018681110f36545cbd3ecbc5 |
|
BLAKE2b-256 | 7a478ad3bf3dd9131a6e37e1a984a9cda5f96d3047773751cec2df85efb984c7 |
Close
Hashes for behave_django_steps-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5358ec86ad4e24eb1d76688fc929e290096cf86b48b64bf283fe1ab6c6b41929 |
|
MD5 | e87db2a28ff250f1cbb0f6b96c154661 |
|
BLAKE2b-256 | cf341169abcbd3d6da0f47679cb1e3ca2953de8c7a0a10adbdbda385f1a6e9e4 |