Skip to content
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

Accept: Refactor command structure #2710

Merged
merged 3 commits into from
May 27, 2019

Conversation

oncilla
Copy link
Contributor

@oncilla oncilla commented May 24, 2019

As it turns out, plumbum expects every sub-command to be their
own cli.Application. This PR refactors the acceptance framework
and introduces 2 base classes. One for the test definition and
doc string, and one for the sub-commands.


This change is Reviewable

@oncilla oncilla added the BS label May 24, 2019
@oncilla oncilla added this to the Q2S2 milestone May 24, 2019
@oncilla oncilla requested a review from scrye May 24, 2019 08:44
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @oncilla and @scrye)


acceptance/bs_add_link_acceptance/test, line 55 at r1 (raw file):

Retrun

Return


acceptance/common/README.md, line 10 at r1 (raw file):

have multiple classes

The text only explains the Test class that is needed, what else is needed?

Copy link
Contributor Author

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 3 files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker and @scrye)


acceptance/bs_add_link_acceptance/test, line 55 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…
Retrun

Return

Done.


acceptance/common/README.md, line 10 at r1 (raw file):

Previously, lukedirtwalker (Lukas Vogel) wrote…
have multiple classes

The text only explains the Test class that is needed, what else is needed?

Done.

As it turns out, plumbum expects every sub-command to be their
own cli.Application. This PR refactors the acceptance framework
and introduces 2 base classes. One for the test definition and
doc string, and one for the sub-commands.
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @scrye)

@oncilla oncilla merged commit db8e294 into scionproto:master May 27, 2019
@oncilla oncilla deleted the pub-acceptance-refactor branch May 27, 2019 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants