def METHOD_NAME(self):
    conf_file = os.path.join(self.__priv_dir, 'test.json')
    with open(conf_file, 'w') as _:
        _.write(
            '{\n'
            '"index": "my_index.markdown",\n'
            '"test_index": "/home/meh/test_index.markdown",\n'
            '"test_other_index": "other_index.markdown"\n'
            '}\n')
    cfg = Config(conf_file=conf_file)
    # A relative path was passed, the parser should return an
    # absolute path with the path to the conf file as root.
    self.assertEqual(cfg.get_index(),
                     os.path.join(self.__priv_dir, 'my_index.markdown'))
    # An absolute path was passed, and must thus be retrieved
    self.assertEqual(cfg.get_index('test'),
                     '/home/meh/test_index.markdown')
    self.assertIsNone(cfg.get_index('invalid_prefix'))
    self.assertEqual(cfg.get_index('test_other'),
                     os.path.join(self.__priv_dir,
                                  'other_index.markdown'))