Skip to content

pytest-plugin: Expose a sample_data_model fixture

This is almost the same fixture as sample_data except:

  • it's BaseModel object instances within
  • unfortunately, not complete as we cannot convert yet the metadata objects (there is a diff pending [1] which will allow it but right now we cannot).

The next commits [2] will use this fixture to allow:

  • the switch from dict to model objects.
  • drop the validation proxy
  • expose "sample_data" with model objects directly (and drop sample_data_model) [3]

Related to #2494 (closed)

  • [1] !446 (closed)

  • [2] D3510

  • [3] In the mean time, hopefully the change about the metadata model objects will have happened

Test Plan

tox


Migrated from D3509 (view on Phabricator)

Merge request reports