diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index 3f9e2ba2..ed6587fc 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -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`` - diff --git a/docs/tutorial/tests/conftest.py b/docs/tutorial/tests/conftest.py index 87c51812..2e26488f 100644 --- a/docs/tutorial/tests/conftest.py +++ b/docs/tutorial/tests/conftest.py @@ -2,4 +2,4 @@ ## or maybe: # import steps -# ? +# ? diff --git a/docs/tutorial/tests/features/books.feature b/docs/tutorial/tests/features/books.feature index 68508d4e..489f27d8 100644 --- a/docs/tutorial/tests/features/books.feature +++ b/docs/tutorial/tests/features/books.feature @@ -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 | - diff --git a/docs/tutorial/tests/steps/library_steps.py b/docs/tutorial/tests/steps/library_steps.py index f5941a62..09d122fd 100644 --- a/docs/tutorial/tests/steps/library_steps.py +++ b/docs/tutorial/tests/steps/library_steps.py @@ -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. """