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 27b5737 commit c241c9cCopy full SHA for c241c9c
tests/test_version.py
@@ -0,0 +1,10 @@
1
+"""Unit tests for __version__.py
2
+"""
3
+
4
+import diffpy.utils
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.utils, "__version__")
10
+ assert diffpy.utils.__version__ != "0.0.0"
0 commit comments