def test_get_deed_or_license_path_by3(self):
    '\n        3.0 formula:\n        /licenses/VERSION/JURISDICTION/LICENSE_deed_LANGAUGE.html\n        /licenses/VERSION/JURISDICTION/LICENSE_legalcode_LANGAUGE.html\n\n        3.0 examples:\n        /licenses/3.0/xu/by_deed_en.html\n        /licenses/3.0/xu/by_legalcode_en.html\n        /licenses/3.0/am/by_deed_hy.html\n        /licenses/3.0/am/by_legalcode_hy.html\n        /licenses/3.0/rs/by_deed_rs-Cyrl.html\n        /licenses/3.0/rs/by_legalcode_rs-Cyrl.html\n        For jurisdiction, I used "xu" to mean "unported".\n        See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#User-assigned_code_elements.  # noqa: E501\n        '
    self._test_get_deed_or_license_path([('3.0', 'by', '', 'en', 'licenses/by/3.0/xu/deed.en.html', ['../licenses/by/3.0/xu/deed.en.html', '../deed.html', '../index.html'], 'licenses/by/3.0/xu/legalcode.en.html', ['../licenses/by/3.0/xu/legalcode.en.html', '../legalcode.html'])])
    self._test_get_deed_or_license_path([('3.0', 'by', 'ca', 'en', 'licenses/by/3.0/ca/deed.en.html', ['deed.html', 'index.html'], 'licenses/by/3.0/ca/legalcode.en.html', ['legalcode.html'])])
    self._test_get_deed_or_license_path([('3.0', 'by-sa', 'ca', 'fr', 'licenses/by-sa/3.0/ca/deed.fr.html', [], 'licenses/by-sa/3.0/ca/legalcode.fr.html', [])])
    self._test_get_deed_or_license_path([('3.0', 'by-nc-nd', 'am', 'hy', 'licenses/by-nc-nd/3.0/am/deed.hy.html', ['deed.html', 'index.html'], 'licenses/by-nc-nd/3.0/am/legalcode.hy.html', ['legalcode.html'])])
3.0 formula:
/licenses/VERSION/JURISDICTION/LICENSE_deed_LANGAUGE.html
/licenses/VERSION/JURISDICTION/LICENSE_legalcode_LANGAUGE.html

3.0 examples:
/licenses/3.0/xu/by_deed_en.html
/licenses/3.0/xu/by_legalcode_en.html
/licenses/3.0/am/by_deed_hy.html
/licenses/3.0/am/by_legalcode_hy.html
/licenses/3.0/rs/by_deed_rs-Cyrl.html
/licenses/3.0/rs/by_legalcode_rs-Cyrl.html
For jurisdiction, I used "xu" to mean "unported".
See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#User-assigned_code_elements.  # noqa: E501
def test_get_deed_or_license_path_by3(self):
    '\n        3.0 formula:\n        /licenses/VERSION/JURISDICTION/LICENSE_deed_LANGAUGE.html\n        /licenses/VERSION/JURISDICTION/LICENSE_legalcode_LANGAUGE.html\n\n        3.0 examples:\n        /licenses/3.0/xu/by_deed_en.html\n        /licenses/3.0/xu/by_legalcode_en.html\n        /licenses/3.0/am/by_deed_hy.html\n        /licenses/3.0/am/by_legalcode_hy.html\n        /licenses/3.0/rs/by_deed_rs-Cyrl.html\n        /licenses/3.0/rs/by_legalcode_rs-Cyrl.html\n        For jurisdiction, I used "xu" to mean "unported".\n        See https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#User-assigned_code_elements.  # noqa: E501\n        '
    self._test_get_deed_or_license_path([('3.0', 'by', , 'en', 'licenses/by/3.0/xu/deed.en.html', ['../licenses/by/3.0/xu/deed.en.html', '../deed.html', '../index.html'], 'licenses/by/3.0/xu/legalcode.en.html', ['../licenses/by/3.0/xu/legalcode.en.html', '../legalcode.html'])])
    self._test_get_deed_or_license_path([('3.0', 'by', 'ca', 'en', 'licenses/by/3.0/ca/deed.en.html', ['deed.html', 'index.html'], 'licenses/by/3.0/ca/legalcode.en.html', ['legalcode.html'])])
    self._test_get_deed_or_license_path([('3.0', 'by-sa', 'ca', 'fr', 'licenses/by-sa/3.0/ca/deed.fr.html', [], 'licenses/by-sa/3.0/ca/legalcode.fr.html', [])])
    self._test_get_deed_or_license_path([('3.0', 'by-nc-nd', 'am', 'hy', 'licenses/by-nc-nd/3.0/am/deed.hy.html', ['deed.html', 'index.html'], 'licenses/by-nc-nd/3.0/am/legalcode.hy.html', ['legalcode.html'])])