woob.tools.capabilities.housing.housing_test

class woob.tools.capabilities.housing.housing_test.HousingTest

Bases: object

Testing class to standardize the housing modules tests.

DO_NOT_DISTINGUISH_FURNISHED_RENT = False
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_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_HOUSINGS_LIST = ['photos']
FIELDS_ANY_SINGLE_HOUSING = ['photos']
assertNotEmpty(obj, field)
check_against_query(query)
check_housing_lists(query)
check_single_housing_all(housing, type, house_type, advert_type)
check_single_housing_any(housing, counter)