def _test_get_deed_or_license_path(self, data):
    for (version, license_code, jurisdiction_code, language_code, expected_deed_path, expected_deed_symlinks, expected_license_path, expected_license_symlinks) in data:
        license = LicenseFactory(license_code=license_code, version=version, jurisdiction_code=jurisdiction_code)
        legalcode = LegalCodeFactory(license=license, language_code=language_code)
        self.assertEqual([expected_deed_path, expected_deed_symlinks], legalcode.get_file_and_links('deed'))
        self.assertEqual([expected_license_path, expected_license_symlinks], legalcode.get_file_and_links('legalcode'))
def _test_get_deed_or_license_path(self, data):
    for (version, license_code, jurisdiction_code, language_code, expected_deed_path, expected_deed_symlinks, expected_license_path, expected_license_symlinks) in data:
        license = LicenseFactory(license_code=license_code, version=version, jurisdiction_code=jurisdiction_code)
        legalcode = LegalCodeFactory(license=license, language_code=language_code)
        self.assertEqual([expected_deed_path, expected_deed_symlinks], legalcode.get_file_and_links('deed'))
        self.assertEqual([expected_license_path, expected_license_symlinks], legalcode.get_file_and_links('legalcode'))