#NEWLINE# def test_serialize_settings_enabled_and_unconfirmed( self ) : #NEWLINE# #INDENT# settings = serialize_settings ( Auth ( settings . user ) ) #NEWLINE# assert_true ( settings [ 'is_enabled' ] ) #NEWLINE# assert_false ( settings [ 'is_confirmed' ] ) #NEWLINE# assert_equal ( settings [ 'secret' ] , self . user_addon . totp_secret_b32 ) #NEWLINE# assert_equal ( settings [ 'drift' ] , self . user_addon . totp_drift )