aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/test_dates.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/test_dates.py')
-rw-r--r--python/tests/test_dates.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/python/tests/test_dates.py b/python/tests/test_dates.py
index 1437bba4..f9054700 100644
--- a/python/tests/test_dates.py
+++ b/python/tests/test_dates.py
@@ -2,20 +2,14 @@ import unittest
import datetime
import pandas as pd
-import sys
-
-sys.path.append("..")
-from analytics.utils import roll_date
-from analytics.tranche_functions import cds_accrued, credit_schedule
+from serenitas.analytics.utils import roll_date, days_accrued
+from serenitas.analytics.tranche_functions import cds_accrued, credit_schedule
from pyisda.date import (
roll_date as roll_date_c,
cds_accrued as cds_accrued_c,
previous_twentieth,
- pydate_to_TDate,
- TDate_to_pydate,
)
-from dates import days_accrued
-from yieldcurve import get_curve
+from serenitas.analytics.yieldcurve import get_curve
class TestStartDate(unittest.TestCase):