def test_get_server_addr_xml(self):
     """
     Test parsing of server path.
     """
     data = utils.get_server_addr_xml()
     self.assertIsInstance(data, dict)
     self.assertEqual(len(data), 3)
     self.assertDictEqual(
         data,
         {
             'host': 'intranet.stxnext.pl',
             'protocol': 'https',
             'avatar_path': '/api/images/users/',
         }
     )
def avatars_path():
    """
    Returns the path to the avatars on the host.
    """
    return utils.get_server_addr_xml()