-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
from behave import given, when, then # type: ignore | ||
from behave.runner import Context # type: ignore | ||
|
||
|
||
@given("we have behave installed") | ||
def example_given_step_impl(context): | ||
@given("we have behave installed") # type: ignore | ||
def example_given_step_impl(context: Context) -> None: | ||
pass | ||
|
||
|
||
@when("we implement a test") | ||
def example_when_step_impl(context): | ||
@when("we implement a test") # type: ignore | ||
def example_when_step_impl(context: Context) -> None: | ||
assert True is not False | ||
|
||
|
||
@then("behave will test it for us!") | ||
def example_then_step_impl(context): | ||
@then("behave will test it for us!") # type: ignore | ||
def example_then_step_impl(context: Context) -> None: | ||
assert context.failed is False | ||
|
||
|
||
@given("I am interested in Purlieu") | ||
def interested_step_impl(context): | ||
@given("I am interested in Purlieu") # type: ignore | ||
def interested_step_impl(context: Context) -> None: | ||
pass | ||
|
||
|
||
@when("I get a new email from K&L Wine Merchants") | ||
def email_step_impl(context): | ||
@when("I get a new email from K&L Wine Merchants") # type: ignore | ||
def email_step_impl(context: Context) -> None: | ||
pass | ||
|
||
|
||
@then("I should see 'Purlieu \"Le Pich\" Napa Valley Sauvignon Blanc (Elsewhere $30)'") | ||
def should_step_impl(context): | ||
@then("I should see 'Purlieu \"Le Pich\" Napa Valley Sauvignon Blanc (Elsewhere $30)'") # type: ignore | ||
def should_step_impl(context: Context) -> None: | ||
pass |
This file was deleted.
Oops, something went wrong.