moved faker to under imports according to PEP-8

This commit is contained in:
Anastasia Gradova
2024-03-04 16:02:21 -07:00
parent ee6dfacad1
commit 117ac98491

View File

@@ -73,6 +73,8 @@ from tests.app.db import (
create_user,
)
#used in add-test-* commands
fake = Faker(["en_US"])
@click.group(name="command", help="Additional commands")
def command_group():
@@ -852,8 +854,6 @@ faker is used to generate some random fields. All
database commands were used from tests/app/db.py
where possible to enable better maintainability.
"""
fake = Faker(["en_US"])
# generate n number of test orgs into the dev DB
@notify_command(name="add-test-organizations-to-db")