mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +01:00
15 lines
296 B
Python
15 lines
296 B
Python
import re
|
|
|
|
from commands.auth import AuthCommand
|
|
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')
|