from ..indexing import DatetimeIndexImp

from pandas.util.testing import assert_series_equal, assert_frame_equal

class TestIndexImplementers(object):

    def test_datetime_index_imp(self):
	pass
        #dii = DatetimeIndexImp(...)

    def test_integer_index_imp(self):
	pass
        #iii = IntIndexImp(...)

    def test_string_index_imp(self):
	pass
        #sii = StringIndexImp(...)

    def test_period_index_imp(self):
	pass
        #pii = PeriodIndexImp(...)
@@ -111,35 +111,77 @@
 al%0A%0A
-class TestIndexImplementers
+import pandas as pd%0Aimport datetime as dt%0A%0Aclass TestDateTimeIndexImp
 (obj
@@ -186,17 +186,16 @@
 bject):%0A
-%0A
     def 
@@ -203,76 +203,763 @@
 est_
-datetime_index_imp(self):%0A%09pass%0A        #dii = DatetimeIndexImp(...)
+asfreq(self):%0A        tst_ind = %5Bdt.date(2015, 1, i) for i in range(1, 20)%5D%0A        tst_ind.append(dt.date(2015, 2, 5))%0A        %0A        tst_dat = %5B1.0%5D * len(tst_ind)%0A        %0A        tst_s = pd.Series(tst_dat, tst_ind)%0A        tst_df = pd.Series(tst_dat, tst_ind)%0A        %0A        dii = DatetimeIndexImp(tst_s, 'asfreq', %7B'freq' : 'B'%7D)%0A        %0A        exp_ind = pd.date_range(start='20150101', end='20150205', freq='B')%0A        exp_dat = %5B1.0%5D * 13 + %5Bpd.np.nan%5D * 12 + %5B1.0%5D%0A        exp_s = pd.Series(exp_dat, exp_ind)%0A        %0A        assert_series_equal(dii.final_series(), exp_s, check_dtype=True,%0A                            check_index_type=True,%0A                            check_series_type=True)%0A        %0Aclass TestIndexImplementers(object):%0A
 %0A%0A  
@@ -986,33 +986,40 @@
 ndex_imp(self):%0A
-%09
+        
 pass%0A        #ii
@@ -1069,33 +1069,40 @@
 ndex_imp(self):%0A
-%09
+        
 pass%0A        #si
@@ -1167,9 +1167,16 @@
 f):%0A
-%09
+        
 pass

Create first indexingimp test