Skip to content

Commit 611ea0a

Browse files
committed
add test for show_config function
1 parent cad8feb commit 611ea0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_utils.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import numpy as np
2+
import geoana
23
from geoana.utils import check_xyz_dim, mkvc, ndgrid
34
import pytest
45

56

7+
def test_config_info():
8+
info = geoana.show_config()
9+
assert info['version'] == geoana.__version__
10+
11+
612
def test_mkvc():
713
x = np.random.rand(3, 2)
814
x_test = np.concatenate((x[:, 0], x[:, 1]), axis=None)

0 commit comments

Comments
 (0)