ctbtodev
Last change
on this file since 14d9618 was
d9abaac,
checked in by Anne Philipp <anne.philipp@…>, 4 years ago
|
after tarball check, applied: dos2unix conversion, some spell corrections, TAB to Space correction
|
-
Property mode set to
100644
|
File size:
906 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | # -*- coding: utf-8 -*- |
---|
3 | |
---|
4 | import os |
---|
5 | import sys |
---|
6 | import pytest |
---|
7 | |
---|
8 | sys.path.append("../python") |
---|
9 | import _config |
---|
10 | |
---|
11 | def test_path_localpython(): |
---|
12 | assert os.path.exists(_config.PATH_LOCAL_PYTHON) == 1 |
---|
13 | |
---|
14 | def test_path_flexextract(): |
---|
15 | assert os.path.exists(_config.PATH_FLEXEXTRACT_DIR) == 1 |
---|
16 | |
---|
17 | def 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 | |
---|
22 | def test_path_templates(): |
---|
23 | assert os.path.exists(_config.PATH_TEMPLATES) == 1 |
---|
24 | |
---|
25 | def test_path_vtable(): |
---|
26 | assert os.path.exists(_config.PATH_GRIBTABLE) == 1 |
---|
27 | |
---|
28 | def test_file_vtable(): |
---|
29 | assert os.path.isfile(_config.PATH_GRIBTABLE) == 1 |
---|
30 | |
---|
31 | def test_path_run(): |
---|
32 | assert os.path.exists(_config.PATH_RUN_DIR) == 1 |
---|
33 | |
---|
34 | def test_path_control(): |
---|
35 | assert os.path.exists(_config.PATH_CONTROLFILES) == 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.