#NEWLINE# def _verify_reserved_resources( self , expected , actual ) : #NEWLINE# #INDENT# for ( resource , delta ) in actual . items ( ) : #NEWLINE# #INDENT# self . assertIn ( resource , expected ) #NEWLINE# self . assertEqual ( delta , expected [ resource ] ) #NEWLINE# del expected [ resource ] #NEWLINE# #UNINDENT# self . assertFalse ( actual )