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.

Cassettes ordering can be changed in the multi-cassette mode

See original GitHub issue

You use startmap to make the cassette list unique, but it leads to the situation when ordering of the cassettes can change, because map keys isn’t ordered. I faced with this problem, when my tests failed in CI, but worked locally because of this.

https://github.com/kiwicom/pytest-recording/blob/e0ae83d20ea587fbad3e27e70fa011243dc7f2df/src/pytest_recording/_vcr.py#L45

BTW, what for do you make the cassette list unique? I would like to put one cassette multiple times in one testcase, so ensure that the same request is performed many times. Maybe just get rid of this?

P.S. Thanks a lot for the great lib, I really like it!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
selevitcommented, Jul 5, 2021

Sorry for taking your time on this, I’m gonna close the issue.

Thanks a lot for the fast response!

0reactions
Stranger6667commented, Jul 5, 2021

@selevit No worries! I am happy to discuss any issues happening within the library’s scope 😃

Feel free to open another issue if there is anything we can improve

Read more comments on GitHub >

github_iconTop Results From Across the Web

Philips crazy Ski Slope Cassette Deck - YouTube
As these have less tape inside...they will also have less weight than the average C90. When I ordered them I had no idea...
Read more >
MULTI-CASSETTE CASH DISPENSER - Triton ATMs
Changes or modifications to this unit not expressly approved by the party responsible for compliance could void the user's authority to operate the...
Read more >
Ceiling Cassettes Mitsubishi Electric PLA-ZRP100BA Service ...
The main display can be displayed in two different modes: "Full" and "Basic". The factory setting is "Full". To switch to the "Basic"...
Read more >
CEILING CASSETTE INDOOR UNIT INSTALLATION MANUAL
Become familiar with the unit's components and connections, and the order of installation. Incorrect installation can degrade or prevent proper ...
Read more >
Bike cassettes explained - BikeRadar
We have an explainer on how to change your cassette in five simple steps. ... A cassette might have anything from 7 up...
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