mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
14 lines
313 B
Python
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__)
|