示例#1
0
    def test_hostname_uuid_os(self):
        hostname = host.hostname()
        assert_that(hostname, is_not(None))

        uuid = host.uuid()
        assert_that(uuid, is_not(None))

        os_name = host.os_name()
        assert_that(os_name, is_not(None))
示例#2
0
 def _setup_host_details(self):
     from amplify.agent.util.host import hostname, uuid
     self.hostname = hostname()
     self.uuid = uuid()