Files
asciinema/tests/version_command_test.py
2016-06-07 21:02:11 +02:00

14 lines
313 B
Python

from asciinema.commands.version import VersionCommand
from asciinema import __version__
from .test_helper import assert_printed, Test
class TestVersionCommand(Test):
def test_execute(self):
command = VersionCommand()
command.execute()
assert_printed('asciinema %s' % __version__)