def test_lorder(self):
    self.db.set_lorder(1234)
    self.assertEqual(1234, self.db.get_lorder())
    self.db.set_lorder(4321)
    self.assertEqual(4321, self.db.get_lorder())
    self.assertRaises(db.DBInvalidArgError, self.db.set_lorder, 9182)
def test_lorder(self):
    self.db.set_lorder(1234)
    self.assertEqual(1234, self.db.get_lorder())
    self.db.set_lorder(4321)
    self.assertEqual(4321, self.db.get_lorder())
    self.assertRaises(db.DBInvalidArgError, self.db.set_lorder, 9182)