tardis.apps.oaipmh.tests.provider package
Submodules
tardis.apps.oaipmh.tests.provider.test_base module
- class tardis.apps.oaipmh.tests.provider.test_base.BaseProviderTestCase(methodName='runTest')
Bases:
TestCase- setUp()
Hook method for setting up the test fixture before exercising it.
- tearDown()
Hook method for deconstructing the test fixture after testing it.
- testGetRecord()
Default behaviour should be to not handle the identifier.
- testIdentify()
There can be only one provider that responds. By default, don’t.
- testListIdentifiers()
By default a provider cannot handle the given metadata prefix.
- testListMetadataFormats()
By default a provider handles no metadata formats.
- testListRecords()
By default a provider cannot handle the given metadata prefix.
- testListSets()
By default a provider does not implement sets.
tardis.apps.oaipmh.tests.provider.test_experiment module
- class tardis.apps.oaipmh.tests.provider.test_experiment.AbstractExperimentProviderTC
Bases:
object- setUp()
- tearDown()
- testGetRecordHandlesInvalidIdentifiers()
- testIdentify()
There can be only one provider that responds. This one does not.
- testListIdentifiers()
- testListIdentifiersDoesNotHandleSets()
- testListMetadataFormats()
- testListSets()
- class tardis.apps.oaipmh.tests.provider.test_experiment.DcExperimentProviderTestCase(methodName='runTest')
Bases:
AbstractExperimentProviderTC,TestCase- testGetRecord()
- testListRecords()
- class tardis.apps.oaipmh.tests.provider.test_experiment.RifCsExperimentProviderTestCase(methodName='runTest')
Bases:
AbstractExperimentProviderTC,TestCase- tearDown()
Hook method for deconstructing the test fixture after testing it.
- testGetRecord()
- testListRecords()