Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2024
1 parent 36d60e7 commit 2c5a446
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion docs/tutorial/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ Set up the tutorial

From the project root, activate a virtual environment and run:
``pip install -r docs/tutorial/requirements.txt``

2 changes: 1 addition & 1 deletion docs/tutorial/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

## or maybe:
# import steps
# ?
# ?
1 change: 0 additions & 1 deletion docs/tutorial/tests/features/books.feature
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ Scenario: The catalog can be searched by author name.
Then only these books will be returned
| Author | Title |
| Stephen King | The Shining |

6 changes: 3 additions & 3 deletions docs/tutorial/tests/steps/library_steps.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from helper_methods.library_catalog import Catalog
from helper_methods.verification_helper_methods import verify_returned_books
from pytest import fixture
from pytest_bdd_ng import given, when, then, parsers, step
from pytest_bdd_ng import given, parsers, step, then, when


from helper_methods.library_catalog import Catalog
from helper_methods.verification_helper_methods import verify_returned_books
@fixture
def context()
""" Create a placeholder object to use in place of Cucumber's context object. The context object allows us to pass state between steps. """
Expand Down

0 comments on commit 2c5a446

Please sign in to comment.