def test_invalid_page(): page = "http://ensemblesrt3.dmi.dk/data/CORDEX/AFR-44/KNMI/ICHEC-EC-EARTH/rcp45/r1i1p1/KNMI-RACMO22T/v1/day/snc/Daily_snc_CC.ascii" spider.read_url(page)
def test_no_html(): page = "http://ensemblesrt3.dmi.dk/data/CORDEX/AFR-44/KNMI/MOHC-HadGEM2-ES/rcp45/r1i1p1/KNMI-RACMO22T/v1/mon/tasmax/v20150224/tasmax_AFR-44_MOHC-HadGEM2-ES_rcp45_r1i1p1_KNMI-RACMO22T_v1_mon_200601-201012.nc" spider.read_url(page)