

def test_get_related_items(self):
    i = get_item('2281511')
    expected = set(['2281511', '1278053', '4377796', '5094040'])
    bibids = set(db.get_related_bibids(i))
    self.assertEqual(bibids, expected)

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