question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flag to turn on/off vcr

See original GitHub issue

Hi, I’d like to have some flag (the best option env variable), to turn on/off vcr for tests marked with @pytest.mark.vcr. By default it should work as is. But if I set env variable “USE_VCR=false” it should run real http requests and no cassetes should be rewritten. Or it is possible to achieve somehow with CLI options, custom decorators, etc?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
Stranger6667commented, Nov 25, 2020

This feature is released in 0.11.0

1reaction
MasterSergiuscommented, Nov 25, 2020

Thank you for quick action 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turning vcr on and off
turned_off() - Turns vcr off for the duration of a code block · turn_off() - Turns vcr off completely, so that it no...
Read more >
What is this problem in VHS and how fix it ? - VideoHelp Forum
Flagging is a easy term for the problem described since the top of the picture affected looks like a flag waving,I've seen this...
Read more >
Notes on the Troubleshooting and Repair of Video Cassette ...
First, if this wasn't the original complaint, make sure the flag waving problem exists with the TV that will actually be used with...
Read more >
Implementing Feature Flags in Angular is easier than you ...
Feature flags are basically a configuration for your application where we specify which features are enabled/disabled.
Read more >
Switching form to remote: true breaks VCR - Stack Overflow
Can you use Alchemist Supplies to make infinite money? Advised to decline co-authorship on prior work · Making flags from the flag of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found