diff --git a/tests/test_prettytable.py b/tests/test_prettytable.py index 7ddce3e..5bdca0d 100644 --- a/tests/test_prettytable.py +++ b/tests/test_prettytable.py @@ -6,6 +6,7 @@ from math import e, pi, sqrt from typing import Any, List import pytest +from pytest_lazyfixture import lazy_fixture import prettytable from prettytable import ( diff --git a/tests/test_prettytable.py b/tests/test_prettytable.py index 5bdca0d..f0ca396 100644 --- a/tests/test_prettytable.py +++ b/tests/test_prettytable.py @@ -216,12 +216,12 @@ class TestBuildEquivalence: ["left_hand", "right_hand"], [ ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("col_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("col_prettytable"), ), ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("mix_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("mix_prettytable"), ), ], ) @@ -232,12 +232,12 @@ class TestBuildEquivalence: ["left_hand", "right_hand"], [ ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("col_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("col_prettytable"), ), ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("mix_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("mix_prettytable"), ), ], ) @@ -248,12 +248,12 @@ class TestBuildEquivalence: ["left_hand", "right_hand"], [ ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("col_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("col_prettytable"), ), ( - pytest.lazy_fixture("row_prettytable"), - pytest.lazy_fixture("mix_prettytable"), + lazy_fixture("row_prettytable"), + lazy_fixture("mix_prettytable"), ), ], ) @@ -1607,7 +1607,7 @@ class TestMultiPattern: ["pt", "expected_output", "test_type"], [ ( - pytest.lazy_fixture("city_data_prettytable"), + lazy_fixture("city_data_prettytable"), """ +-----------+------+------------+-----------------+ | City name | Area | Population | Annual Rainfall | @@ -1624,7 +1624,7 @@ class TestMultiPattern: "English Table", ), ( - pytest.lazy_fixture("japanese_pretty_table"), + lazy_fixture("japanese_pretty_table"), """ +--------+------------+----------+ | Kanji | Hiragana | English | @@ -1643,7 +1643,7 @@ class TestMultiPattern: "Japanese table", ), ( - pytest.lazy_fixture("emoji_pretty_table"), + lazy_fixture("emoji_pretty_table"), """ +-----------------+-----------------+ | Thunderbolt | Lightning |