source:
flex_extract.git/source/pythontest/TestEcFlexpart.py
@
0a06607
Last change on this file since 0a06607 was 25b14be, checked in by Anne Philipp <anne.philipp@…>, 6 years ago | |
---|---|
|
|
File size: 852 bytes |
Rev | Line | |
---|---|---|
[067a0c3] | 1 | #!/usr/bin/env python |
2 | # -*- coding: utf-8 -*- | |
3 | ||
[25b14be] | 4 | |
[067a0c3] | 5 | import sys |
[25b14be] | 6 | import pytest |
[067a0c3] | 7 | |
8 | sys.path.append('../python') | |
[25b14be] | 9 | from classes.EcFlexpart import EcFlexpart |
[067a0c3] | 10 | |
[25b14be] | 11 | class TestEcFlexpart(): |
[067a0c3] | 12 | ''' |
13 | ''' | |
14 | ||
[25b14be] | 15 | def test_init(self): |
16 | # create an instance of EcFlexpart and get a dictionary of the | |
17 | # class attributes, compare this dict with an expected dict! | |
18 | assert True == True | |
[067a0c3] | 19 | |
[25b14be] | 20 | def test_write_namelist(self): |
[067a0c3] | 21 | # simple |
[25b14be] | 22 | assert True == True |
[067a0c3] | 23 | |
[25b14be] | 24 | def test_retrieve(self): |
[067a0c3] | 25 | # not sure how to check |
[25b14be] | 26 | assert True == True |
[067a0c3] | 27 | |
28 | ||
29 | # these functions should test the output and compare the results with an output | |
30 | # of the old version and check if there are no differences!!! | |
31 | # also check for errors?! Or check if it works for alle datasets and private public etc | |
32 | ||
33 | # - process_output | |
34 | # - create | |
35 | # - deacc_fluxes |
Note: See TracBrowser
for help on using the repository browser.