'Test we can correctly time order downloads and visits.'

def testTimeOrderingDownload(self):

    history_file = os.path.join(self.base_path, 'parser_test', 'History3')
    history = chrome_history.ChromeParser(open(history_file, 'rb'))
    entries = [x for x in history.Parse()]
    time_results = [x[0] for x in entries]
    self.assertEqual(time_results, sorted(time_results))
    self.assertEqual(len(entries), 23)
