Mercurial > repos > pieterlukasse > prims_metabolomics2
comparison test/test_query_metexp.py @ 1:223d1167de58
added comment
author | pieter.lukasse@wur.nl |
---|---|
date | Thu, 19 Mar 2015 10:38:48 +0100 |
parents | dffc38727496 |
children |
comparison
equal
deleted
inserted
replaced
0:dffc38727496 | 1:223d1167de58 |
---|---|
8 | 8 |
9 | 9 |
10 class IntegrationTest(unittest.TestCase): | 10 class IntegrationTest(unittest.TestCase): |
11 | 11 |
12 | 12 |
13 # copied from test_export_to_metexp_tabular.py | 13 # def test_MM_calculations(self): |
14 # def test_MM_calculations(self): | |
15 # ''' | 14 # ''' |
16 # test the implemented method for MM calculations for | 15 # test the implemented method for MM calculations for |
17 # given chemical formulas | 16 # given chemical formulas |
18 # ''' | 17 # ''' |
19 # export_to_metexp_tabular.init_elements_and_masses_map() | 18 # export_to_metexp_tabular.init_elements_and_masses_map() |
65 'GC', | 64 'GC', |
66 output_result] | 65 output_result] |
67 | 66 |
68 # Execute main function with arguments provided through sys.argv | 67 # Execute main function with arguments provided through sys.argv |
69 query_metexp.main() | 68 query_metexp.main() |
70 | |
71 # TODO - asserts (base them on DB being filled with test data form metexp unit test for upload method) | |
72 # PA | |
73 | 69 |
74 | 70 |
75 | 71 |
76 | 72 |
77 def _read_file(filename): | 73 def _read_file(filename): |