mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 17:22:17 -05:00
Corrected flake spacing
This commit is contained in:
@@ -73,9 +73,10 @@ from tests.app.db import (
|
||||
create_user,
|
||||
)
|
||||
|
||||
#used in add-test-* commands
|
||||
# used in add-test-* commands
|
||||
fake = Faker(["en_US"])
|
||||
|
||||
|
||||
@click.group(name="command", help="Additional commands")
|
||||
def command_group():
|
||||
pass
|
||||
@@ -855,6 +856,7 @@ database commands were used from tests/app/db.py
|
||||
where possible to enable better maintainability.
|
||||
"""
|
||||
|
||||
|
||||
# generate n number of test orgs into the dev DB
|
||||
@notify_command(name="add-test-organizations-to-db")
|
||||
@click.option("-g", "--generate", required=True, prompt=True, default=1)
|
||||
@@ -862,6 +864,7 @@ def add_test_organizations_to_db(generate):
|
||||
if getenv("NOTIFY_ENVIRONMENT", "") not in ["development", "test"]:
|
||||
current_app.logger.error("Can only be run in development")
|
||||
return
|
||||
|
||||
def generate_gov_agency():
|
||||
agency_names = [
|
||||
"Bureau",
|
||||
|
||||
Reference in New Issue
Block a user