def test_write_n_retrieve(self): dbk.init() uid = dbk.write(Test.SHORT_WRITE) ret = dbk.read(uid) assert ret == Test.SHORT_WRITE