weboob.tools.capabilities.housing.housing_test

class weboob.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 = [u'id', u'type', u'advert_type', u'house_type', u'url', u'title', u'area', u'cost', u'currency', u'utilities', u'date', u'location', u'station', u'text', u'phone', u'rooms', u'bedrooms', u'DPE', u'GES', u'details']
FIELDS_ALL_SINGLE_HOUSING = [u'id', u'url', u'type', u'advert_type', u'house_type', u'title', u'area', u'cost', u'currency', u'utilities', u'date', u'location', u'station', u'text', u'phone', u'rooms', u'bedrooms', u'DPE', u'GES', u'details']
FIELDS_ANY_HOUSINGS_LIST = [u'photos']
FIELDS_ANY_SINGLE_HOUSING = [u'photos']
assertNotEmpty(obj, field)
check_against_query(query)
check_housing_lists(query)
check_single_housing_all(housing, type, house_types, advert_type)
check_single_housing_any(housing, counter)