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 b391458 commit ca62408Copy full SHA for ca62408
1 file changed
tests/test_version.py
@@ -0,0 +1,13 @@
1
+import os
2
+
3
+import tzdata
4
5
+REPO_ROOT = os.path.split(os.path.split(__file__)[0])[0]
6
+VERSION_FILE = os.path.join(REPO_ROOT, "VERSION")
7
8
9
+def test_version():
10
+ with open(VERSION_FILE, "rt") as f:
11
+ version_from_file = f.read()
12
13
+ assert version_from_file == tzdata.__version__
0 commit comments