Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rooknj committed Feb 11, 2024
1 parent e1fbf13 commit 9c3f1c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion tests/acceptance/features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from behave.runner import Context # type: ignore


def before_scenario(context: Context, scenario: Scenario):
def before_scenario(context: Context, scenario: Scenario) -> None:
if "wip" in scenario.effective_tags:
scenario.skip("Work in Progress")
return
25 changes: 13 additions & 12 deletions tests/acceptance/features/steps/example.py
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
6 changes: 0 additions & 6 deletions tests/unit/test_example.py

This file was deleted.

0 comments on commit 9c3f1c0

Please sign in to comment.