-
Notifications
You must be signed in to change notification settings - Fork 0
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
No cassette found when test function is args are multiline #1
Comments
This issue is actually caused by the So the following test: @pytest.mark.vcr
def test_msteams_service_emergency_location_get(mstsc) Creates a cassette with the name:
But with the @pytest.mark.vcr
@pytest.mark.parametrize(
"field, value",
[
("addressDescription", "Fake Address"),
("addressDescription", ""),
("name", "Fake Location"),
("name", ""),
],
)
def test_msteams_service_emergency_location_update_bad_raises(
mstsc, field, value, emer_addr
): Creates 4 cassettes with the names:
I'm working on a fix to search for any number of cassette files that starts with the test name. |
This is working, but produces multiple open and delete code lens buttons. Need to combine multiple cassette actions into single button. Also the `delete cassettes in current file` command does not locate parametrized cassettes.
Fixed in 1.1.2 |
No cassette is found for the following example:
I think its due to the (args) being multiline. Need to investigate further.
The text was updated successfully, but these errors were encountered: