'Ensure that multiple symbols that return the same sid are collapsed to
a single returned asset.'

def test_lookup_mult_are_one(self):

    date = pd.Timestamp('2013-01-01', tz='UTC')
    df = pd.DataFrame.from_records([{'sid': 1, 'symbol': symbol, 'start_date': date.value, 'end_date': (date + timedelta(days=30)).value, 'exchange': 'NYSE'} for symbol in ('FOOB', 'FOO_B')])
    self.write_assets(equities=df)
    finder = self.asset_finder
    result = finder.lookup_symbol('FOO/B', (date + timedelta(1)), fuzzy=True)
    self.assertEqual(result.sid, 1)
