From b2436b3e02e977aae4ad18833f6792dd19fe078b Mon Sep 17 00:00:00 2001 From: Leo Hemsted Date: Thu, 31 Aug 2017 14:45:01 +0100 Subject: [PATCH] add command to application.py --- application.py | 1 + tests/app/test_commands.py | 1 + 2 files changed, 2 insertions(+) diff --git a/application.py b/application.py index 0cb5377d8..3127f52af 100644 --- a/application.py +++ b/application.py @@ -17,6 +17,7 @@ manager.add_command('create_provider_rate', commands.CreateProviderRateCommand) manager.add_command('purge_functional_test_data', commands.PurgeFunctionalTestDataCommand) manager.add_command('custom_db_script', commands.CustomDbScript) manager.add_command('populate_monthly_billing', commands.PopulateMonthlyBilling) +manager.add_command('backfill_processing_time', commands.BackfillProcessingTime) @manager.command diff --git a/tests/app/test_commands.py b/tests/app/test_commands.py index e44655241..1c5ceedd9 100644 --- a/tests/app/test_commands.py +++ b/tests/app/test_commands.py @@ -2,6 +2,7 @@ from datetime import datetime from app.commands import BackfillProcessingTime + def test_backfill_processing_time_works_for_correct_dates(mocker): send_mock = mocker.patch('app.commands.send_processing_time_for_start_and_end')