Skip to content
Snippets Groups Projects
Commit f5132713 authored by David Douard's avatar David Douard
Browse files

hypothesis: split hypothesis strategies as a dict + entity instance

for each entity model `Model`, provide a `models_d` strategy that
produces dicts suitable for using as argument for the `Model.from_dict`
factory method, and reimplement the `models` generator using this
former hypothesis generator.

This is needed to help writing low level tests for model entities.
parent 10b06992
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment