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