Skip to content

Commit c9cf238

Browse files
committed
initial tests
1 parent 54974ba commit c9cf238

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

tests/test__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# from diffpy.cmi import get_package_dir
2+
from pathlib import Path
3+
4+
import pytest
5+
6+
7+
@pytest.mark.parametrize("root_path", [None, str(Path(__file__).parent)])
8+
def test_get_package_dir(root_path):
9+
"""Test that get_package_dir returns a valid path context
10+
manager."""
11+
assert False

tests/test_packsmanager.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# from diffpy.cmi.packsmanager import PacksManager
2+
3+
4+
def test_available_examples():
5+
"""Test that available_examples returns a dict."""
6+
assert False
7+
8+
9+
def test_print_info():
10+
"""Test that print_info runs without error."""
11+
assert False

0 commit comments

Comments
 (0)