Files
asciinema/tests/commands/version_test.py
2013-09-30 22:45:58 +02:00

14 lines
291 B
Python

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