#NEWLINE# def test_staff_user_can_filter_ip_mappings_by_public_ip( self ) : #NEWLINE# #INDENT# for ip_mapping in self . ip_mappings : #NEWLINE# #INDENT# public_ip = self . ip_mappings [ ip_mapping ] . public_ip #NEWLINE# self . _ensure_matching_entries_in ( 'public_ip' , ip_mapping )