mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
14 lines
312 B
Python
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)
|