ctbtodev
Last change
on this file since 222aa11 was
067a0c3,
checked in by Anne Philipp <anne.philipp@…>, 6 years ago
|
renamed documentation dir; moved pythontest to python dir
|
-
Property mode set to
100644
|
File size:
875 bytes
|
Rev | Line | |
---|
[067a0c3] | 1 | #!/usr/bin/env python |
---|
| 2 | # -*- coding: utf-8 -*- |
---|
| 3 | |
---|
| 4 | import unittest |
---|
| 5 | import sys |
---|
| 6 | import EcFlexpart |
---|
| 7 | |
---|
| 8 | sys.path.append('../python') |
---|
| 9 | |
---|
| 10 | class TestEcFlexpart(unittest.TestCase): |
---|
| 11 | ''' |
---|
| 12 | ''' |
---|
| 13 | |
---|
| 14 | def setUp(self): |
---|
| 15 | pass |
---|
| 16 | |
---|
| 17 | def test__init__(): |
---|
| 18 | # create an instance of EcFlexpart and get a dictionary of the |
---|
| 19 | # class attributes, compare this dict with an expected dict! |
---|
| 20 | return |
---|
| 21 | |
---|
| 22 | def test_write_namelist(): |
---|
| 23 | # simple |
---|
| 24 | return |
---|
| 25 | |
---|
| 26 | def test_retrieve(): |
---|
| 27 | # not sure how to check |
---|
| 28 | return |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | # these functions should test the output and compare the results with an output |
---|
| 32 | # of the old version and check if there are no differences!!! |
---|
| 33 | # also check for errors?! Or check if it works for alle datasets and private public etc |
---|
| 34 | |
---|
| 35 | # - process_output |
---|
| 36 | # - create |
---|
| 37 | # - deacc_fluxes |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | if __name__ == "__main__": |
---|
| 43 | unittest.main() |
---|
Note: See
TracBrowser
for help on using the repository browser.