#NEWLINE# def test_drop_priv( self ) : #NEWLINE# #INDENT# '\n        If we are chrooting we must drop privileges.\n        ' #NEWLINE# opt = self . _parse ( '--app-path=./' , '--chroot' ) #NEWLINE# stat = os . stat ( './' ) #NEWLINE# self . assertEquals ( self [ 'uid' ] , stat . st_uid ) #NEWLINE# self . assertEquals ( opt [ 'gid' ] , stat . st_gid )