

def test_availability_georgetown(self):
    a = get_availability('b10086948')
    self.assertEqual(a['wrlc'], '4218864')
    self.assertEqual(a['summon'], 'b10086948')
    self.assertEqual(len(a['offers']), 1)
    o = a['offers'][0]
    self.assertEqual(o['@type'], 'Offer')
    o.assertEqual(o['seller'], 'Georgetown')
    self.assertEqual(o['sku'], 'PR6019.O9 F45 1959')
    self.assertTrue((o['availability'] in availability))

dataset/ETHPy150Open gwu-libraries/launchpad/lp/ui/dbtest.py DbTests.test_availability_georgetown/VarMisuse@78/119 `self`->`o`