Skip to content
Snippets Groups Projects

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

Closed by Phabricator Migration userPhabricator Migration user 4 years ago (Jul 16, 2020 9:53am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading