add command to application.py

This commit is contained in:
Leo Hemsted
2017-08-31 14:45:01 +01:00
parent 378b131c59
commit b2436b3e02
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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')