mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
disable black for part of key rotations tests
In order to make the `RootVersion` test cases understandable it's better if we use keywords and don't split the different RootVersions into multiple lines. Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
This commit is contained in:
parent
beb8087bf5
commit
2042a54dcf
1 changed files with 2 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ def _run_refresh(self) -> None:
|
|||
)
|
||||
updater.refresh()
|
||||
|
||||
# fmt: off
|
||||
root_rotation_cases = {
|
||||
"1-of-1 key rotation": [
|
||||
RootVersion(keys=[1], threshold=1, sigs=[1]),
|
||||
|
|
@ -154,6 +155,7 @@ def _run_refresh(self) -> None:
|
|||
RootVersion(keys=[1, 2], threshold=2, sigs=[1, 2]),
|
||||
],
|
||||
}
|
||||
# fmt: on
|
||||
|
||||
@run_sub_tests_with_dataset(root_rotation_cases)
|
||||
def test_root_rotation(self, root_versions: List[RootVersion]) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue