Files
asciinema/tests/version_command_test.py

14 lines
311 B
Python
Raw Normal View History

2013-10-05 12:43:53 +02:00
from asciinema.commands.version import VersionCommand
from asciinema.common import VERSION
2013-09-30 22:45:58 +02:00
from test_helper import assert_printed, Test
class TestVersionCommand(Test):
def test_execute(self):
command = VersionCommand()
command.execute()
assert_printed('asciinema %s' % VERSION)