Changeset dda0e9d in flex_extract.git for python/pythontest/TestPathes.py


Ignore:
Timestamp:
Aug 31, 2018, 2:07:57 PM (6 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
2f4cc73
Parents:
7c82d52
Message:

set path to grib1 table as global variable; test path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/pythontest/TestPathes.py

    r067a0c3 rdda0e9d  
    22# -*- coding: utf-8 -*-
    33
     4import os
     5import sys
    46import pytest
    57
     8sys.path.append("../")
     9import _config
    610
    7 def test_vtable():
    8     print "vtable test"
    911
     12def test_path_vtable():
     13    assert os.path.exists(_config.PATH_GRIBTABLE) == 1
     14
     15def test_file_vtable():
     16    assert os.path.isfile(_config.PATH_GRIBTABLE) == 1
     17
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG