Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Feb 9, 2023
1 parent 34a5cfc commit 9aafb87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pay-api/tests/unit/services/test_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def test_payment_with_no_active_invoice(session):
('account_name_view_all_2', {'accountName': 'account'}, True, 4, None, None),
('product', {'product': 'BUSINESS'}, False, 3, 'product', 'BUSINESS'),
('product_view_all', {'product': 'BUSINESS'}, True, 4, 'product', 'BUSINESS'),
('csv export', {'product': 'BUSINESS'}, True, 4, None, None),
('csv_export', {'product': 'BUSINESS'}, True, 4, None, None),
])
def test_search_payment_history(session, test_name, search_filter, view_all,
expected_total, expected_key, expected_value):
Expand Down Expand Up @@ -151,7 +151,7 @@ def test_search_payment_history(session, test_name, search_filter, view_all,

auth_account_id = payment_account.auth_account_id if not view_all else None

if test_name == 'csv export':
if test_name == 'csv_export':
return_all = True
else:
return_all = False
Expand Down

0 comments on commit 9aafb87

Please sign in to comment.