Skip to content

Add test for choice variable #25

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

Merged
merged 3 commits into from
Jun 24, 2018
Merged

Conversation

hackebrot
Copy link
Owner

Test to verify #24

(based on #23)

@hackebrot hackebrot requested a review from michaeljoseph June 18, 2018 14:15
@hackebrot hackebrot added the enhancement New feature or enhancement for pytest-cookies label Jun 20, 2018

def test_bake_project(cookies):
result = cookies.bake(
extra_context={'docs_tool': '%s'},
Copy link
Collaborator

Choose a reason for hiding this comment

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

In #24, the example has just a string for the choice, not a list?

Copy link
Owner Author

Choose a reason for hiding this comment

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

The pytest marker injects a string into the choice variable.

@hackebrot hackebrot force-pushed the add-test-for-choice-variable branch from 97c0ba2 to 3c5f346 Compare June 20, 2018 17:18
@hackebrot
Copy link
Owner Author

Rebased to latest master branch.

@hackebrot hackebrot merged commit 6892ee6 into master Jun 24, 2018
@hackebrot hackebrot deleted the add-test-for-choice-variable branch June 24, 2018 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement for pytest-cookies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants