#NEWLINE# def test_removing_weapon_in_use( self ) : #NEWLINE# #INDENT# '\n        Test that weapon in use is removed when dropped\n        ' #NEWLINE# item = mock ( ) #NEWLINE# self . character . inventory . append ( self ) #NEWLINE# self . character . inventory . weapon = item #NEWLINE# self . character . inventory . remove ( item ) #NEWLINE# assert_that ( self . character . inventory . weapon , is_ ( none ( ) ) )