fix: update abstract base class to include missing parameter#2753
fix: update abstract base class to include missing parameter#2753divyaajainn wants to merge 6 commits intoOpen-MSS:oldstablefrom
Conversation
|
see the 2nd task in the issue |
|
i will look into it today itself. i was busy with an event. |
|
Does this look good? |
|
I was going for that initially, but didn’t import pytest at the time so I just quickly checked the behavior with a try-except. I have updated it, does this look good? |
|
I think the error is caused when I clear _filetree (by setting it to {}), the expected ValueError isn’t raised maybe DUT’s setup or a caching mechanism might be preventing it from being empty. |
The test failure you are seeing is not caused by the first In an attempted fix of this bug I noticed that just appending .bak to a filename in the test is not enough, as the next call to |
|
Thanks. I hadn’t realized the failure was from the second ValueError. I’ll hold off on changes for now and wait for clarification on the expected behavior of reload. I’ll also update the test to avoid .bak files being picked up by .setup. |
Purpose of PR?: Updates the abstract base class signature of _determine_filename to include a default reload parameter, aligning it with its implementations and usage in have_data.
Bug fix
Fixes #2745