ReepayGatewayTest S

Total Complexity 28
Dependencies 5
Dependents 0
Total lines 564
Lines of code 297
Logical lines of code 96
Comment lines 190
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
test_get_order_items_line_items_reepay_subscription()
S
46 1 50
test_get_order_items_shipping_items()
S
53 1 27
test_get_order_reepay_subscription_with_fee()
S
55 1 23
test_get_order_items_total_discount()
S
56 1 20
test_get_account_info()
S
57 1 19
test_get_order_items_fee_items()
S
57 1 19
test_get_order_items_line_items_simple()
S
57 1 19
test_refund_payment_with_different_amounts()
S
64 2 10
test_check_is_active()
S
64 1 11
set_up_before_class()
S
76 1 4
test_logo()
S
70 1 6
test_get_order_items_giftup()
S
82 1 3
test_get_order_items_pw_gift_card()
S
82 1 3
test_can_refund()
S
70 1 7
test_refund_payment_with_impossible_to_cancel_order()
S
73 1 5
test_refund_payment_with_api_error()
S
66 1 8
tear_down_after_class()
S
73 1 5
test_refund_payment_with_cancelled_order()
S
70 1 6
test_cancel_payment_with_api_error()
S
73 1 5
test_cancel_payment_with_cancelled_order()
S
73 1 5
test_capture_payment_with_api_error()
S
73 1 5
test_capture_payment_with_cancelled_order()
S
73 1 5
test_can_cancel()
S
70 1 7
test_can_capture()
S
70 1 7
test_get_account_info_not_on_settings_page()
S
76 1 4
test_is_gateway_settings_page()
S
70 1 6
test_logo_default()
S
67 1 8