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