#NEWLINE# def assert_location_state( self , location ) : #NEWLINE# #INDENT# 'Test the assertion of a location state.' #NEWLINE# state = self . hass . states . get ( DEVICE_TRACKER_STATE ) #NEWLINE# self . assertEqual ( state . state , location )