Mercurial > repos > pieterlukasse > prims_metabolomics
diff test/test_library_lookup.py @ 16:53e1eee93430
Last tested version
author | pieter.lukasse@wur.nl |
---|---|
date | Fri, 24 Jan 2014 10:38:31 +0100 |
parents | 9d5f4f5f764b |
children | 60b53f2aa48a |
line wrap: on
line diff
--- a/test/test_library_lookup.py Tue Jan 21 16:50:15 2014 +0100 +++ b/test/test_library_lookup.py Fri Jan 24 10:38:31 2014 +0100 @@ -147,9 +147,9 @@ ''' Tests the match_library.py functionality ''' - riqc_libs_dir = resource_filename(__name__, "../repositories") + riqc_libs_dir = resource_filename(__name__, "../repositories/PRIMS-metabolomics/RI_DB_libraries") get_library_files_output = match_library.get_directory_files(riqc_libs_dir) - self.assertEqual(4, len(get_library_files_output)) + self.assertEqual(1, len(get_library_files_output)) self.assertEqual("Library_RI_DB_capillary_columns-noDuplicates", get_library_files_output[0][0]) #TODO change assert below to assert that the result is a file, so the test can run on other dirs as well: #self.assertEqual("E:\\workspace\\PRIMS-metabolomics\\python-tools\\tools\\GCMS\\test\\data\\riqc_libs\\RI DB library (capillary columns) Dec.2012.txt", get_library_files_output[0][1])