Changeset 222aa11 in flex_extract.git for python/pythontest/TestPathes.py


Ignore:
Timestamp:
Sep 10, 2018, 8:54:42 AM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
3232589
Parents:
308e144
Message:

added pathes in config file and according testcases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/pythontest/TestPathes.py

    rdda0e9d r222aa11  
    99import _config
    1010
     11def test_path_localpython():
     12    assert os.path.exists(_config.PATH_LOCAL_PYTHON) == 1
     13
     14def test_path_flexextract():
     15    assert os.path.exists(_config.PATH_FLEXEXTRACT_DIR) == 1
     16
     17def test_path_flexextract_name():
     18    version = _config._VERSION_STR
     19    flexextract_name = 'flex_extract_v' + version
     20    assert os.path.basename(_config.PATH_FLEXEXTRACT_DIR) == flexextract_name
     21
     22def test_path_templates():
     23    assert os.path.exists(_config.PATH_TEMPLATES) == 1
    1124
    1225def test_path_vtable():
     
    1629    assert os.path.isfile(_config.PATH_GRIBTABLE) == 1
    1730
     31def test_path_run():
     32    assert os.path.exists(_config.PATH_RUN_DIR) == 1
     33
     34def test_path_control():
     35    assert os.path.exists(_config.PATH_CONTROLFILES) == 1
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG