#NEWLINE# def test_generate_item_with_effect( self ) : #NEWLINE# #INDENT# '\n        Test that item with effect can be generated\n        ' #NEWLINE# item = self . generator . generate_item ( name = 'healing potion' ) #NEWLINE# assert_that ( item , is_ ( not_none ( ) ) ) #NEWLINE# assert_that ( item , has_effect_handle ( ) )