tomoscan.test.utils.UtilsTest¶
- class tomoscan.test.utils.UtilsTest¶
Bases:
objectStatic class providing useful stuff for preparing tests.
- __init__()¶
Methods
__init__()dataDownloaded(archive_folder, archive_file)dataIsDownloaded(archive_file)dataIsHere(archive_folder)getDataset(name)getDatasets([name])Downloads the requested image from Forge.EPN-campus.eu
getH5Dataset(folderID)getInternalTestDir(dataset)getOrangeTestFile(folderID)getOrangeTestFiles()hasInternalTest(dataset)The id of the internal test is to have some large scan accessible which are stored locally.
Attributes
timeout- classmethod getDatasets(name='datasets')¶
Downloads the requested image from Forge.EPN-campus.eu
@param: name of the image. For the RedMine forge, the filename contains a directory name that is removed @return: full path of the locally saved file
- classmethod hasInternalTest(dataset)¶
The id of the internal test is to have some large scan accessible which are stored locally. This should be used only for unit test that can be skipped