We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b384a00 + 3473749 commit f5ca6d5Copy full SHA for f5ca6d5
news/version-test.rst
@@ -0,0 +1,23 @@
1
+**Added:**
2
+
3
+* Unit test for version.py
4
5
+**Changed:**
6
7
+* <news item>
8
9
+**Deprecated:**
10
11
12
13
+**Removed:**
14
15
16
17
+**Fixed:**
18
19
20
21
+**Security:**
22
23
tests/test_version.py
@@ -0,0 +1,10 @@
+"""Unit tests for __version__.py
+"""
+import diffpy.structure
+def test_package_version():
+ """Ensure the package version is defined and not set to the initial placeholder."""
+ assert hasattr(diffpy.structure, "__version__")
+ assert diffpy.structure.__version__ != "0.0.0"
0 commit comments