def test_get_urls4(self): all_urls = spinnentier.get_urls(self.base, self.html) testurl = "http://www.mysite.gov/path/page" assert testurl in all_urls
def test_get_urls2(self): all_urls = spinnentier.get_urls(self.base, self.html) testurl = "http://basedomain.org/nextpage" assert testurl in all_urls
def test_get_urls3(self): all_urls = spinnentier.get_urls(self.base, self.html) testurl = "http://basedomain.org/2014/foo/bar/" assert testurl in all_urls
def test_get_urls1(self): all_urls = spinnentier.get_urls(self.base, self.html) testurl = "http://www.otherdomain.ca" assert testurl in all_urls