Files
asciinema/tests/version_command_test.py
2013-10-06 13:49:25 +02:00

14 lines
312 B
Python

from asciinema.commands.version import VersionCommand
from asciinema.common 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)