improve apec page parsing

This commit is contained in:
Bezleputh 2013-07-08 22:55:40 +02:00 committed by Florent
commit 836dd27bfd
2 changed files with 21 additions and 13 deletions

View file

@ -25,7 +25,7 @@ class ApecTest(BackendTest):
BACKEND = 'apec'
def test_apec(self):
l = list(self.backend.search_job(u'maitre brasseur'))
l = list(self.backend.search_job(u'informaticien'))
assert len(l)
advert = self.backend.get_job_advert(l[0].id, None)
self.assertTrue(advert.url, 'URL for announce "%s" not found: %s' % (advert.id, advert.url))