adapt adecco module to console application

This commit is contained in:
Bezleputh 2013-07-03 23:10:39 +02:00 committed by Florent
commit b585bc2150
2 changed files with 7 additions and 3 deletions

View file

@ -28,5 +28,4 @@ class AdeccoTest(BackendTest):
l = list(self.backend.search_job(u'valet de chambre'))
assert len(l)
advert = self.backend.get_job_advert(l[0].id, None)
print advert.__repr__()
self.assertTrue(advert.url, 'URL for announce "%s" not found: %s' % (advert.id, advert.url))