1#!/usr/bin/python 2 3import unittest 4import common 5 6from autotest_lib.server.hosts import remote 7 8 9class test_remote_host(unittest.TestCase): 10 def test_has_hostname(self): 11 host = remote.RemoteHost("myhost") 12 self.assertEqual(host.hostname, "myhost") 13 14 15if __name__ == "__main__": 16 unittest.main() 17