Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace mockery with local_mocked_bindings. #118

Closed
wants to merge 3 commits into from

Conversation

jonthegeek
Copy link

Closes #113.

@jonthegeek
Copy link
Author

Oops, testing a fix right now (in case @gaborcsardi is looking at this one early today)!

Comment on lines -34 to -38
mockery::stub(
ppm_snapshots,
"async_get_ppm_versions",
function(...) async_constant(ver)
)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what this one is supposed to do. I don't see async_get_ppm_versions defined anywhere. Was this a leftover (that mockery didn't complain about)?

…R CMD check still chokes on test-async for me, though.
@gaborcsardi
Copy link
Member

Thanks for taking a stab at this! It ended up involving a lot of changes, so I am going to close it, and for now pkgcache will use mockery. Thanks again!

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.

Use testthat::with_mock() instead of mockery
2 participants