def test_georgemason_id(self):
        # lookup should run at subsecond speed but if encoding is messed up
        # they can turn into a full table scan which taks multiple seconds
        t0 = datetime.datetime.now()
        bibid = db.get_bibid_from_summonid('m55883')
        t1 = datetime.datetime.now()
        self.assertEqual((t1 - t0).seconds, 0)
        self.assertEqual(bibid, '1560207')
dataset/ETHPy150Open gwu-libraries/launchpad/lp/ui/dbtest.py/DbTests.test_georgemason_id/original