def test_h_ffactor(self):
    for ffactor in [4, 16, 256]:
        self.db.set_h_ffactor(ffactor)
        self.assertEqual(ffactor, self.db.get_h_ffactor())
def test_h_ffactor(self):
    for ffactor in [4, 16, 256]:
        self.db.set_h_ffactor(ffactor)
        self.assertEqual(ffactor, self.db.get_h_ffactor())