woob.tools.capabilities.housing.housing_test

class HousingTest[source]

Bases: object

Testing class to standardize the housing modules tests.

FIELDS_ALL_HOUSINGS_LIST = ['id', 'type', 'advert_type', 'house_type', 'url', 'title', 'area', 'cost', 'currency', 'utilities', 'date', 'location', 'station', 'text', 'phone', 'rooms', 'bedrooms', 'DPE', 'GES', 'details']
FIELDS_ANY_HOUSINGS_LIST = ['photos']
FIELDS_ALL_SINGLE_HOUSING = ['id', 'url', 'type', 'advert_type', 'house_type', 'title', 'area', 'cost', 'currency', 'utilities', 'date', 'location', 'station', 'text', 'phone', 'rooms', 'bedrooms', 'DPE', 'GES', 'details']
FIELDS_ANY_SINGLE_HOUSING = ['photos']
DO_NOT_DISTINGUISH_FURNISHED_RENT = False
assertNotEmpty(obj, field)[source]
check_housing_lists(query, max_results=20)[source]
check_single_housing_all(housing, type, house_type, advert_type)[source]
check_single_housing_any(housing, counter)[source]
check_against_query(query, max_results=20)[source]