[codestyle] rename variable
This commit is contained in:
parent
7c825e15cf
commit
a0a2b1ea53
2 changed files with 3 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ def enable_db_access_for_all_tests(db):
|
|||
def fixture_longlived_client() -> Client:
|
||||
return Client()
|
||||
|
||||
|
||||
@pytest.fixture(name="random_name", scope="session")
|
||||
def fixture_random_name_generator() -> Callable[[int], str]:
|
||||
def name_generator(length: int = 7) -> str:
|
||||
|
|
@ -22,4 +23,3 @@ def fixture_random_name_generator() -> Callable[[int], str]:
|
|||
return name
|
||||
|
||||
return name_generator
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue