f=CFG_OAI_ID_FIELD)[0]# Find corresponding system number id
# There must be some datestamps
self.assertNotEqual([],datestamps)
# We must be able to retrieve an id with the date we have just found
self.assert_(sample_idinoai_repository_server.oai_get_recid_list(fromdate=sample_datestamp),"%s not in %s (fromdate=%s)"%(sample_id,oai_repository_server.oai_get_recid_list(fromdate=sample_datestamp),sample_datestamp))
self.assert_(sample_idinoai_repository_server.oai_get_recid_list(untildate=sample_datestamp),"%s not in %s"%(sample_id,oai_repository_server.oai_get_recid_list(untildate=sample_datestamp)))