Files
asciinema/tests/auth_command_test.py

15 lines
306 B
Python
Raw Normal View History

2013-09-30 22:45:58 +02:00
import re
2013-10-05 12:43:53 +02:00
from asciinema.commands.auth import AuthCommand
2013-09-30 22:45:58 +02:00
from test_helper import assert_printed, Test
class TestAuthCommand(Test):
def test_execute(self):
command = AuthCommand('http://the/url', 'a1b2c3')
command.execute()
assert_printed('http://the/url/connect/a1b2c3')