def test_all_rs2_files(self): testData = DataForTestingMappers() testData.download_all_test_data() for rsfile in testData.mapperData['radarsat2']: # OBS: do not yield functions that have the word 'test' in # their names - these are run automatically by nose... yield self.incidence_angle, rsfile #yield self.export2thredds, rsfile yield self.export, rsfile
def test_specific_mapper(self): ''' Should open all downloaded files with automatically selected mapper ''' testData = DataForTestingMappers() testData.download_all_test_data() for mapperName in testData.mapperData: mapperFiles = testData.mapperData[mapperName] for mapperFile in mapperFiles: print mapperName, '->', mapperFile # OBS: do not yield functions that have the word 'test' in # their names - these are run automatically by nose... yield self.open_with_specific_mapper, mapperFile, mapperName
def test_specific_mapper(self): """ Should open all downloaded files with automatically selected mapper """ testData = DataForTestingMappers() testData.download_all_test_data() for mapperName in testData.mapperData: mapperFiles = testData.mapperData[mapperName] for mapperFile in mapperFiles: print mapperName, "->", mapperFile # OBS: do not yield functions that have the word 'test' in # their names - these are run automatically by nose... yield self.open_with_specific_mapper, mapperFile, mapperName
def test_automatic_mapper(self): """ Should open all downloaded files with automatically selected mapper """ testData = DataForTestingMappers() testData.download_all_test_data() for mapper in testData.mapperData: mapperFiles = testData.mapperData[mapper] for mapperFile in mapperFiles: print mapperFile # OBS: do not yield functions that have the word 'test' in # their names - these are run automatically by nose... yield self.open_with_automatic_mapper, mapperFile yield self.geolocation_of_exportedNC_vs_original, mapperFile
def test_automatic_mapper(self): ''' Should open all downloaded files with automatically selected mapper ''' testData = DataForTestingMappers() testData.download_all_test_data() for mapper in testData.mapperData: mapperFiles = testData.mapperData[mapper] for mapperFile in mapperFiles: print mapperFile # OBS: do not yield functions that have the word 'test' in # their names - these are run automatically by nose... yield self.open_with_automatic_mapper, mapperFile yield self.geolocation_of_exportedNC_vs_original, \ mapperFile