def test_get_deed_or_license_path_by4(self):
    '\n        4.0 formula:\n        /licenses/VERSION/LICENSE_deed_LANGAUGE.html\n        /licenses/VERSION/LICENSE_legalcode_LANGAUGEhtml\n\n        4.0 examples:\n        /licenses/4.0/by-nc-nd_deed_en.html\n        /licenses/4.0/by-nc-nd_legalcode_en.html\n        /licenses/4.0/by_deed_en.html\n        /licenses/4.0/by_legalcode_en.html\n        /licenses/4.0/by_deed_zh-Hans.html\n        /licenses/4.0/by_legalcode_zh-Hans.html\n        '
    self._test_get_deed_or_license_path([('4.0', 'by-nc-nd', '', 'en', 'licenses/by-nc-nd/4.0/deed.en.html', ['deed.html', 'index.html'], 'licenses/by-nc-nd/4.0/legalcode.en.html', ['legalcode.html']), ('4.0', 'by', '', 'en', 'licenses/by/4.0/deed.en.html', ['deed.html', 'index.html'], 'licenses/by/4.0/legalcode.en.html', ['legalcode.html'])])
    self._test_get_deed_or_license_path([('4.0', 'by', '', 'zh-Hans', 'licenses/by/4.0/deed.zh-Hans.html', [], 'licenses/by/4.0/legalcode.zh-Hans.html', [])])
4.0 formula:
/licenses/VERSION/LICENSE_deed_LANGAUGE.html
/licenses/VERSION/LICENSE_legalcode_LANGAUGEhtml

4.0 examples:
/licenses/4.0/by-nc-nd_deed_en.html
/licenses/4.0/by-nc-nd_legalcode_en.html
/licenses/4.0/by_deed_en.html
/licenses/4.0/by_legalcode_en.html
/licenses/4.0/by_deed_zh-Hans.html
/licenses/4.0/by_legalcode_zh-Hans.html
def test_get_deed_or_license_path_by4(self):
    '\n        4.0 formula:\n        /licenses/VERSION/LICENSE_deed_LANGAUGE.html\n        /licenses/VERSION/LICENSE_legalcode_LANGAUGEhtml\n\n        4.0 examples:\n        /licenses/4.0/by-nc-nd_deed_en.html\n        /licenses/4.0/by-nc-nd_legalcode_en.html\n        /licenses/4.0/by_deed_en.html\n        /licenses/4.0/by_legalcode_en.html\n        /licenses/4.0/by_deed_zh-Hans.html\n        /licenses/4.0/by_legalcode_zh-Hans.html\n        '
    self._test_get_deed_or_license_path([('4.0', 'by-nc-nd', , 'en', 'licenses/by-nc-nd/4.0/deed.en.html', ['deed.html', 'index.html'], 'licenses/by-nc-nd/4.0/legalcode.en.html', ['legalcode.html']), ('4.0', 'by', , 'en', 'licenses/by/4.0/deed.en.html', ['deed.html', 'index.html'], 'licenses/by/4.0/legalcode.en.html', ['legalcode.html'])])
    self._test_get_deed_or_license_path([('4.0', 'by', , 'zh-Hans', 'licenses/by/4.0/deed.zh-Hans.html', [], 'licenses/by/4.0/legalcode.zh-Hans.html', [])])