def test_db():
 ip.db['__unittest_'] = 12
 nt.assert_equal(ip.db['__unittest_'], 12)
 del ip.db['__unittest_']
 assert ('__unittest_' not in ip.db)

def test_db ( ) : ip . db [ '__unittest_' ] = 12 nt . assert_equal ( ip . db [ '__unittest_' ] , 12 ) del ip . db [ '__unittest_' ] assert ( '__unittest_' not in ip . db )
test the internal database used for variable persistence .