17 lines
316 B
Python
Executable File
17 lines
316 B
Python
Executable File
#!/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()
|