update template wording in provision mode #5959
GitHub Actions / Test Results
failed
Jan 16, 2025 in 0s
1 fail, 568 pass in 4m 12s
Annotations
Check warning on line 72 in indigo_api/tests/test_analysis_api.py
github-actions / Test Results
test_link_terms_portion (indigo_api.tests.test_analysis_api.AnalysisTestCase) failed
test-reports/TEST-indigo_api.tests.test_analysis_api.AnalysisTestCase-20250116172628.xml [took 0s]
Raw output
'<def ' not found in '<portion xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" name="portion"><meta><identification source="#Indigo-Platform"><FRBRWork><FRBRthis value="/akn/za/act/2014/10/!main"/><FRBRuri value="/akn/za/act/2014/10"/><FRBRalias value="Untitled" name="title"/><FRBRdate date="2014" name="Generation"/><FRBRauthor href=""/><FRBRcountry value="za"/><FRBRnumber value="10"/></FRBRWork><FRBRExpression><FRBRthis value="/akn/za/act/2014/10/eng@2025-01-16/!main"/><FRBRuri value="/akn/za/act/2014/10/eng@2025-01-16"/><FRBRdate date="2025-01-16" name="Generation"/><FRBRauthor href=""/><FRBRlanguage language="eng"/></FRBRExpression><FRBRManifestation><FRBRthis value="/akn/za/act/2014/10/eng@2025-01-16/!main"/><FRBRuri value="/akn/za/act/2014/10/eng@2025-01-16"/><FRBRdate date="2025-01-16" name="Generation"/><FRBRauthor href=""/></FRBRManifestation></identification><references source="#Indigo-Platform"><TLCOrganization eId="Indigo-Platform" href="http://localhost:8000" showAs="Indigo Platform"/></references></meta><portionBody><section id="section-1" eId="sec_1">\n <num>1.</num>\n <heading>Definitions and interpretation</heading>\n <subsection id="section-1.subsection-0" eId="sec_1__subsec_nn_1">\n <content>\n <p eId="sec_1__subsec_nn_1__p_1">In these By-laws, any word or expression that has been defined in the National Road Traffic Act, 1996 (Act No. 93 of 1996) has that meaning and, unless the context otherwise indicates –</p>\n </content>\n </subsection>\n <subsection id="section-1.subsection-1" eId="sec_1__subsec_nn_2">\n <content>\n <blockList id="section-1.subsection-1.list1" eId="sec_1__subsec_nn_2__list_1">\n <listIntroduction eId="sec_1__subsec_nn_2__list_1__intro_1">"authorised official" means –</listIntroduction>\n <item id="section-1.subsection-1.list1.a" eId="sec_1__subsec_nn_2__list_1__item_a">\n <num>(a)</num>\n <p eId="sec_1__subsec_nn_2__list_1__item_a__p_1">a member of the Johannesburg Metropolitan Police established in terms of section 64A of the South African Police Service Act, 1995 (Act No. 68 of 1995); or</p>\n </item>\n <item id="section-1.subsection-1.list1.b" eId="sec_1__subsec_nn_2__list_1__item_b">\n <num>(b)</num>\n <p eId="sec_1__subsec_nn_2__list_1__item_b__p_1">any person or official authorised as such, in writing, by the Council;</p>\n </item>\n </blockList>\n </content>\n </subsection>\n <subsection id="section-1.subsection-2" eId="sec_1__subsec_nn_3">\n <content>\n <p eId="sec_1__subsec_nn_3__p_1">"backfill" means to replace the structural layers, including the base, sub-base, sudgrade and subgrade but excluding the surfacing, in a trench dug in, or other excavation of, a road reserve, and “backfilling” is construed accordingly;</p>\n </content>\n </subsection>\n <subsection id="section-1.subsection-3" eId="sec_1__subsec_nn_4">\n <content>\n <p eId="sec_1__subsec_nn_4__p_1">"these By-Laws" includes the schedules;</p>\n </content>\n </subsection>\n</section>\n\n </portionBody></portion>'
Traceback (most recent call last):
File "/home/runner/work/indigo/indigo/indigo_api/tests/test_analysis_api.py", line 118, in test_link_terms_portion
assert_in('<def ', content)
AssertionError: '<def ' not found in '<portion xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" name="portion"><meta><identification source="#Indigo-Platform"><FRBRWork><FRBRthis value="/akn/za/act/2014/10/!main"/><FRBRuri value="/akn/za/act/2014/10"/><FRBRalias value="Untitled" name="title"/><FRBRdate date="2014" name="Generation"/><FRBRauthor href=""/><FRBRcountry value="za"/><FRBRnumber value="10"/></FRBRWork><FRBRExpression><FRBRthis value="/akn/za/act/2014/10/eng@2025-01-16/!main"/><FRBRuri value="/akn/za/act/2014/10/eng@2025-01-16"/><FRBRdate date="2025-01-16" name="Generation"/><FRBRauthor href=""/><FRBRlanguage language="eng"/></FRBRExpression><FRBRManifestation><FRBRthis value="/akn/za/act/2014/10/eng@2025-01-16/!main"/><FRBRuri value="/akn/za/act/2014/10/eng@2025-01-16"/><FRBRdate date="2025-01-16" name="Generation"/><FRBRauthor href=""/></FRBRManifestation></identification><references source="#Indigo-Platform"><TLCOrganization eId="Indigo-Platform" href="http://localhost:8000" showAs="Indigo Platform"/></references></meta><portionBody><section id="section-1" eId="sec_1">\n <num>1.</num>\n <heading>Definitions and interpretation</heading>\n <subsection id="section-1.subsection-0" eId="sec_1__subsec_nn_1">\n <content>\n <p eId="sec_1__subsec_nn_1__p_1">In these By-laws, any word or expression that has been defined in the National Road Traffic Act, 1996 (Act No. 93 of 1996) has that meaning and, unless the context otherwise indicates –</p>\n </content>\n </subsection>\n <subsection id="section-1.subsection-1" eId="sec_1__subsec_nn_2">\n <content>\n <blockList id="section-1.subsection-1.list1" eId="sec_1__subsec_nn_2__list_1">\n <listIntroduction eId="sec_1__subsec_nn_2__list_1__intro_1">"authorised official" means –</listIntroduction>\n <item id="section-1.subsection-1.list1.a" eId="sec_1__subsec_nn_2__list_1__item_a">\n <num>(a)</num>\n <p eId="sec_1__subsec_nn_2__list_1__item_a__p_1">a member of the Johannesburg Metropolitan Police established in terms of section 64A of the South African Police Service Act, 1995 (Act No. 68 of 1995); or</p>\n </item>\n <item id="section-1.subsection-1.list1.b" eId="sec_1__subsec_nn_2__list_1__item_b">\n <num>(b)</num>\n <p eId="sec_1__subsec_nn_2__list_1__item_b__p_1">any person or official authorised as such, in writing, by the Council;</p>\n </item>\n </blockList>\n </content>\n </subsection>\n <subsection id="section-1.subsection-2" eId="sec_1__subsec_nn_3">\n <content>\n <p eId="sec_1__subsec_nn_3__p_1">"backfill" means to replace the structural layers, including the base, sub-base, sudgrade and subgrade but excluding the surfacing, in a trench dug in, or other excavation of, a road reserve, and “backfilling” is construed accordingly;</p>\n </content>\n </subsection>\n <subsection id="section-1.subsection-3" eId="sec_1__subsec_nn_4">\n <content>\n <p eId="sec_1__subsec_nn_4__p_1">"these By-Laws" includes the schedules;</p>\n </content>\n </subsection>\n</section>\n\n </portionBody></portion>'
Loading