def test_set_host(self): test_host_name = 'my_test_host' Accessor.host(test_host_name) self.assertEqual(api.env['host_string'], test_host_name)