'input (self.df):
asof_date  sid  timestamp int_value value
0 2014-01-01   65 2014-01-01         0     0
1 2014-01-01   66 2014-01-01         1     1
2 2014-01-01   67 2014-01-01         2     2
3 2014-01-02   65 2014-01-02         1     1
4 2014-01-02   66 2014-01-02         2     2
5 2014-01-02   67 2014-01-02         3     3
6 2014-01-03   65 2014-01-03         2     2
7 2014-01-03   66 2014-01-03         3     3
8 2014-01-03   67 2014-01-03         4     4
output (expected)
asof_date
2014-01-01 Equity(65 [A])  2014-01-01
Equity(66 [B])  2014-01-01
Equity(67 [C])  2014-01-01
2014-01-02 Equity(65 [A])  2014-01-02
Equity(66 [B])  2014-01-02
Equity(67 [C])  2014-01-02
2014-01-03 Equity(65 [A])  2014-01-03
Equity(66 [B])  2014-01-03
Equity(67 [C])  2014-01-03'

def test_id_with_asof_date(self):

    expected = self.df.drop(['timestamp', 'sid', 'value', 'int_value'], axis=1)
    expected.index = pd.MultiIndex.from_product((self.dates, self.asset_finder.retrieve_all(self.asset_finder.sids)))
    self._test_id(self.df, self.dshape, expected, self.asset_finder, ('asof_date',))
