def METHOD_NAME(self) :
    name = "jcea-random-name"
    self.db.open(self.path, dbname=name, dbtype=db.DB_HASH,
            flags = db.DB_CREATE)
    self.assertEqual((self.path, name), self.db.get_dbname())
    def test_bt_minkey(self) :
        for i in [17, 108, 1030] :
            self.db.set_bt_minkey(i)
            self.assertEqual(i, self.db.get_bt_minkey())
    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)