Changeset 25b14be in flex_extract.git for source/pythontest/TestEcFlexpart.py


Ignore:
Timestamp:
Sep 23, 2018, 11:40:28 AM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
4971f63
Parents:
5d42acd
Message:

changed whole tree structure of flex_extract to have better overview

File:
1 moved

Legend:

Unmodified
Added
Removed
  • source/pythontest/TestEcFlexpart.py

    r067a0c3 r25b14be  
    22# -*- coding: utf-8 -*-
    33
    4 import unittest
     4
    55import sys
    6 import EcFlexpart
     6import pytest
    77
    88sys.path.append('../python')
     9from classes.EcFlexpart import EcFlexpart
    910
    10 class TestEcFlexpart(unittest.TestCase):
     11class TestEcFlexpart():
    1112    '''
    1213    '''
    1314
    14     def setUp(self):
    15         pass
     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
    1619
    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
     20    def test_write_namelist(self):
     21        # simple
     22        assert True == True
    2123
    22     def test_write_namelist():
    23         # simple
    24         return
    25 
    26     def test_retrieve():
     24    def test_retrieve(self):
    2725        # not sure how to check
    28         return
     26        assert True == True
    2927
    3028
     
    3634    #    - create
    3735    #    - deacc_fluxes
    38 
    39 
    40 
    41 
    42 if __name__ == "__main__":
    43     unittest.main()
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG