#NEWLINE# def test_serialize_settings_disabled( self ) : #NEWLINE# #INDENT# user = AuthUserFactory ( ) #NEWLINE# settings = serialize_settings ( Auth ( user ) ) #NEWLINE# assert_false ( settings [ 'is_enabled' ] ) #NEWLINE# assert_false ( settings [ 'is_confirmed' ] ) #NEWLINE# assert_equal ( settings [ 'secret' ] , None ) #NEWLINE# assert_equal ( settings [ 'drift' ] , None )