Merge pull request #3521 from alphagov/refactor-billing-tests-181934027

Small refactorings to billing APIs and tests
This commit is contained in:
Ben Thorner
2022-04-26 13:05:29 +01:00
committed by GitHub
3 changed files with 69 additions and 65 deletions

View File

@@ -30,7 +30,6 @@ billing_blueprint = Blueprint(
register_errors(billing_blueprint)
@billing_blueprint.route('/ft-monthly-usage')
@billing_blueprint.route('/monthly-usage')
def get_yearly_usage_by_monthly_from_ft_billing(service_id):
try:
@@ -42,7 +41,6 @@ def get_yearly_usage_by_monthly_from_ft_billing(service_id):
return jsonify(data)
@billing_blueprint.route('/ft-yearly-usage-summary')
@billing_blueprint.route('/yearly-usage-summary')
def get_yearly_billing_usage_summary_from_ft_billing(service_id):
try: