Skip to content

Fixtures: Threshold = 2 and Related Attack - #165

Merged
davidstrauss merged 7 commits into
mainfrom
threshold-two
Apr 16, 2021
Merged

davidstrauss merged 7 commits into
mainfrom
threshold-two

Conversation

@davidstrauss

Copy link
Copy Markdown
Contributor

This is to support testing any fix to #154.

@davidstrauss davidstrauss added the blocker Another issue or PR depends on this one label Apr 15, 2021
@davidstrauss davidstrauss self-assigned this Apr 15, 2021
@davidstrauss
davidstrauss requested a review from pwolanin April 15, 2021 22:31
@davidstrauss
davidstrauss requested a review from tedbow April 15, 2021 22:41
@davidstrauss davidstrauss changed the title Fixtures: Delegation = 2 and Related Attack Fixtures: Threshold = 2 and Related Attack Apr 15, 2021
Comment thread generate_fixtures.py Outdated
self.write_and_publish_repository(export_client=True)


class TUFTestFixtureThresholdTwoAttack(TUFTestFixtureBase):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to extend TUFTestFixtureThresholdTwo ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think extended didn't work as desired - instead I copied some of the code below

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to extend TUFTestFixtureThresholdTwo ?

Sharp eye. I'll fix this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I switched it to extend the other class. The output looks correct to me.

@pwolanin pwolanin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - tested locally

@davidstrauss
davidstrauss merged commit 571fd1f into main Apr 16, 2021
@davidstrauss
davidstrauss deleted the threshold-two branch April 16, 2021 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocker Another issue or PR depends on this one

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants