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

[FEATURE] Parameterize vcr_config #78

Open
dAnjou opened this issue Oct 10, 2021 · 0 comments
Open

[FEATURE] Parameterize vcr_config #78

dAnjou opened this issue Oct 10, 2021 · 0 comments

Comments

@dAnjou
Copy link

dAnjou commented Oct 10, 2021

Is your feature request related to a problem? Please describe.

I'm working on a library that supports multiple web services behind a single interface.

Now I've written some tests for that interface and would like to run them for each of the web services I support. This is where pytest's fixture parameterization shines and it works well without VCR in the picture, the implementations simply make real requests.

Obviously that's not ideal, so I wanna use VCR. I need different configurations for each web service though. Unfortunately I can't find a way to parameterize vcr_config.

Describe the solution you'd like

No idea, sorry.

Describe alternatives you've considered

I guess I could use the vcr fixture somehow?

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

No branches or pull requests

2 participants