

def test_get_item(self):
    i = get_item('6566525')
    self.assertEqual(i['@type'], 'Book')
    self.assertEqual(i['name'], 'Annotations to Finnegans wake')
    self.assertEqual(i['oclc'], ['61456541'])
    self.assertEqual(i['lccn'], '2005024683')
    self.assertEqual(i['isbn'], ['0801883814', '0801883822'])

dataset/ETHPy150Open gwu-libraries/launchpad/lp/ui/dbtest.py DbTests.test_get_item/original