-
Notifications
You must be signed in to change notification settings - Fork 272
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
Sub-PR of 846: Modification of Updater and tests as part of #660 #868
Sub-PR of 846: Modification of Updater and tests as part of #660 #868
Conversation
A test in test_updater modifies tuf.SPECIFICATION_VERSION temporarily. If it fails, it doesn't get to reset the value. This commit ensures that tuf.SPECIFICATION_VERSION is an expected value at the start of each test -- specifically, the value it had when this test module was first imported. I thought about using a try/except/else structure, but the span of the test was too long and I didn't want to nest try/except. Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
@adityasaky
|
Now that It also looks like class |
Due to imminent refactor efforts this code is unlikely to merge. Thanks for your efforts in the PR! |
Part of the #660 effort, a sub-PR of #846. This is part of step 3 of the plan outlined here: #846 (comment)