123456789101112 |
- #!/usr/bin/env python
- from __future__ import print_function
- from __future__ import unicode_literals
- import time
- def test_ssh_connect(ssh_autodetect):
- """Verify the connection was established successfully."""
- net_conn, real_device_type = ssh_autodetect
- device_type = net_conn.autodetect()
- print(device_type)
- assert device_type == real_device_type
|