mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
moved faker to under imports according to PEP-8
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user