mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Merge branch '800-flask-command-for-test' of https://github.com/GSA/notifications-api into 800-flask-command-for-test
This commit is contained in:
@@ -859,6 +859,9 @@ where possible to enable better maintainability.
|
||||
@notify_command(name="add-test-organizations-to-db")
|
||||
@click.option("-g", "--generate", required=True, prompt=True, default=1)
|
||||
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