

def test_get_related_bibids_by_oclc(self):
    i = get_item('2281511')
    expected = ['1278053', '2281511']
    bibids = db.get_related_bibids_by_oclc(i)
    self.assertEqual(expected, bibids)
    i = get_item('12278722')
    self.assertEqual(db.get_related_bibids_by_oclc(i), ['12278722'])

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