Skip to content

Commit

Permalink
TST: Automate test for version in python wrapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Jun 17, 2024
1 parent be9f217 commit c711937
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py/test/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
import unittest
from pyiapws.version import __version__


class TestVersion(unittest.TestCase):
r"""Test version module."""

def test_version(self):
expected = None
with open("VERSION", "r") as f:
expected = f.read().strip()
value = __version__
expected = "0.3.0"
self.assertEqual(value, expected)

0 comments on commit c711937

Please sign in to comment.