Skip to content

Commit

Permalink
Testing mepo version against the last release version number
Browse files Browse the repository at this point in the history
  • Loading branch information
pchakraborty committed Aug 12, 2024
1 parent 37a3175 commit aa05f52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_mepo_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import mepo.command.diff as mepo_diff
import mepo.command.whereis as mepo_whereis
import mepo.command.reset as mepo_reset
from mepo.cmdline.parser import get_version as get_mepo_version

# Import commands with dash in the name
mepo_restore_state = importlib.import_module("mepo.command.restore-state")
Expand Down Expand Up @@ -335,6 +336,9 @@ def test_reset(self):
with contextlib.redirect_stdout(io.StringIO()) as output:
self.__class__.__mepo_clone()

def test_mepo_version(self):
self.assertEqual(get_mepo_version(), "2.0.0")

def tearDown(self):
pass

Expand Down

0 comments on commit aa05f52

Please sign in to comment.