def _mock_retrieve_content(mock, url):
    filename = urlparse(url).path
    _file = open(filename % './templates%s', 'r')
    content = _file.read()
    _file.close()

    return content
dataset/ETHPy150Open michaelhelmick/lassie/tests/base.py/_mock_retrieve_content/swapped operands of `%`