#NEWLINE# def test_decode_with_notbefore( self , jwt , payload ) : #NEWLINE# #INDENT# payload [ 'nbf' ] = ( utc_timestamp ( ) + 10 ) #NEWLINE# secret = 'secret' #NEWLINE# jwt_message = jwt . encode ( payload , secret ) #NEWLINE# with pytest . raises ( ImmatureSignatureError ) : #NEWLINE# #INDENT# jwt . decode ( jwt_message , secret )