We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b384a00 commit 6391c7cCopy full SHA for 6391c7c
tests/test_version.py
@@ -0,0 +1,10 @@
1
+"""Unit tests for __version__.py
2
+"""
3
+
4
+import diffpy.structure
5
6
7
+def test_package_version():
8
+ """Ensure the package version is defined and not set to the initial placeholder."""
9
+ assert hasattr(diffpy.structure, '__version__'), "The package version is not defined."
10
+ assert diffpy.structure.__version__ != "0.0.0"
0 commit comments