Boilerplate steps for testing Django with Behave
Project description
behave-django-steps
Reduce boilerplate in your behave steps for Django.
Features
Authentication Steps: authentication.feature
Authorization Steps: authorization.feature
Model Steps: models.feature
Performance Steps: queries.feature
Request Steps: requests.feature
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file behave_django_steps-0.7.15.tar.gz.
File metadata
- Download URL: behave_django_steps-0.7.15.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4533ea6a744da0502bb3a5f5adbf04b3d621c02ca4d519a4428127286ef96437
|
|
| MD5 |
bad8d9dddff6df733e4ac73b140f7d33
|
|
| BLAKE2b-256 |
2624b3d1ad4c213449cfbfe84b483afbcdef25aa8783b668390118df62a4d16e
|
File details
Details for the file behave_django_steps-0.7.15-py3-none-any.whl.
File metadata
- Download URL: behave_django_steps-0.7.15-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ea60ef72a063a36de5b34cd999789594283850bc9c9d4faa5d6b9b40004755
|
|
| MD5 |
d45b09e88bcdf4cee2c2380a20a9cf02
|
|
| BLAKE2b-256 |
915493d5ca2c6a4420ff6161e1313a2a56f34b82cbc25e2e100ef92d14d9fb4f
|