Corrected flake spacing

This commit is contained in:
Anastasia Gradova
2024-03-05 08:10:05 -07:00
parent f9f26a2439
commit 8e44e4d981
+3
View File
@@ -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",