diff --git a/example/test_classes.py b/example/test_classes.py index 2bd0c3b..b55ed0f 100644 --- a/example/test_classes.py +++ b/example/test_classes.py @@ -1,6 +1,7 @@ """Shows how to use relative sorting in test classes, see See https://pytest-order.readthedocs.io/en/stable/#referencing-of-tests-in-other-classes-or-modules # noqa: E501 """ + import pytest diff --git a/example/test_combined.py b/example/test_combined.py index c18e195..5b40242 100644 --- a/example/test_combined.py +++ b/example/test_combined.py @@ -1,6 +1,7 @@ """Shows how combined ordinal and relative sorting is handled. See https://pytest-order.readthedocs.io/en/stable/#combination-of-absolute-and-relative-ordering # noqa: E501 """ + import pytest diff --git a/example/test_module1.py b/example/test_module1.py index f5880d7..348f0f4 100644 --- a/example/test_module1.py +++ b/example/test_module1.py @@ -1,6 +1,7 @@ """One of the test files showing the use of the --order-scope option. See https://pytest-order.readthedocs.io/en/stable/#order-scope """ + import pytest diff --git a/example/test_module2.py b/example/test_module2.py index f5880d7..348f0f4 100644 --- a/example/test_module2.py +++ b/example/test_module2.py @@ -1,6 +1,7 @@ """One of the test files showing the use of the --order-scope option. See https://pytest-order.readthedocs.io/en/stable/#order-scope """ + import pytest diff --git a/example/test_modules_b.py b/example/test_modules_b.py index 851711e..36f28dc 100644 --- a/example/test_modules_b.py +++ b/example/test_modules_b.py @@ -1,6 +1,7 @@ """Example showing ordering relative to tests in other modules. See https://pytest-order.readthedocs.io/en/stable/#referencing-of-tests-in-other-classes-or-modules # noqa: E501 """ + import pytest diff --git a/example/test_number.py b/example/test_number.py index 1e8f73e..36a490c 100644 --- a/example/test_number.py +++ b/example/test_number.py @@ -2,6 +2,7 @@ and the use of the long form (index attribute) and short form (number only). See https://pytest-order.readthedocs.io/en/stable/#order-by-index """ + import pytest diff --git a/example/test_ordinals.py b/example/test_ordinals.py index 769573c..0a2cf29 100644 --- a/example/test_ordinals.py +++ b/example/test_ordinals.py @@ -1,6 +1,7 @@ """Shows how to use ordinal names for sorting. See https://pytest-order.readthedocs.io/en/stable/#order-using-ordinals """ + import pytest diff --git a/example/test_quickstart.py b/example/test_quickstart.py index 1a2cf1b..2065f9f 100644 --- a/example/test_quickstart.py +++ b/example/test_quickstart.py @@ -1,6 +1,7 @@ """Test with ordering (as opposed to test.py) from the quick start chapter. See https://pytest-order.readthedocs.io/en/stable/#quickstart """ + import pytest diff --git a/example/test_relative.py b/example/test_relative.py index adb8624..4d6e483 100644 --- a/example/test_relative.py +++ b/example/test_relative.py @@ -1,6 +1,7 @@ """Shows how to sort tests relatively to each other, see https://pytest-order.readthedocs.io/en/stable/#order-relative-to-other-tests """ + import pytest diff --git a/example/test_sort_breaks_dependency.py b/example/test_sort_breaks_dependency.py index aa3bcde..3c3547e 100644 --- a/example/test_sort_breaks_dependency.py +++ b/example/test_sort_breaks_dependency.py @@ -2,6 +2,7 @@ dependency. See https://pytest-order.readthedocs.io/en/stable/#order-dependencies """ + import pytest diff --git a/example/test_sort_dependency.py b/example/test_sort_dependency.py index e8c5450..eaced9f 100644 --- a/example/test_sort_dependency.py +++ b/example/test_sort_dependency.py @@ -1,6 +1,7 @@ """Test showing the behavior of the --order-dependencies option. See https://pytest-order.readthedocs.io/en/stable/#order-dependencies """ + import pytest diff --git a/example/test_sparse_ordering.py b/example/test_sparse_ordering.py index fea533e..f138157 100644 --- a/example/test_sparse_ordering.py +++ b/example/test_sparse_ordering.py @@ -1,6 +1,7 @@ """Test file showing the behavior of the --sparse-ordering option. See https://pytest-order.readthedocs.io/en/stable/#sparse-ordering """ + import pytest