diff --git a/test/test_swap.py b/test/test_swap.py index 8c10b4dcf..c99fa616c 100644 --- a/test/test_swap.py +++ b/test/test_swap.py @@ -150,8 +150,8 @@ def test_swap_from_market(self): p = swap.net_present_value print('NPV: %f' % p) - fixed_npv = swap.fixed_leg_npv - float_npv = swap.floating_leg_npv + fixed_npv = swap.fixed_leg_NPV + float_npv = swap.floating_leg_NPV # verify calculation by discounting both legs tot = 0.0