refactor tests by isabelizimm · Pull Request #209 · rstudio/vetiver-python · GitHub
Skip to content

refactor tests#209

Merged
isabelizimm merged 2 commits into
mainfrom
refactor-tests
Mar 25, 2024
Merged

refactor tests#209
isabelizimm merged 2 commits into
mainfrom
refactor-tests

Conversation

@isabelizimm

@isabelizimm isabelizimm commented Mar 25, 2024

Copy link
Copy Markdown
Contributor

closes #207

  • move from checking if TestClient to passing in a test client as a kwarg to vetiver.predict()
  • use pkg_resoruces to import data (current way of importing from vetiver.data module is no longer compatible with pytest)
  • move creation of vetiver apis with and without prototypes to conftest.py
  • some other general ergonomics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

maint: remove root_path usage in TestClient

1 participant