You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
316 B
17 lines
316 B
#!/usr/bin/python2
|
|
|
|
import unittest
|
|
import common
|
|
|
|
from autotest_lib.server.hosts import remote
|
|
|
|
|
|
class test_remote_host(unittest.TestCase):
|
|
def test_has_hostname(self):
|
|
host = remote.RemoteHost("myhost")
|
|
self.assertEqual(host.hostname, "myhost")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|