

def test_no_item_record(self):
    a = get_availability('12967951')
    self.assertEqual(a['offers'][0]['availability'], 'http://schema.org/InStock')
    self.assertEqual(a['offers'][0]['availabilityAtOrFrom'], 'Lib Special Collections')

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