Skip to content

Commit 3732d10

Browse files
committed
Fix tests regarding translation_progress attribute
For whatever reasons, the test outcome changed recently without doing anything to this code base. So, apparently, the behavior changed on behalf of updated versions of some dependency package. Effectively, this attribute was added to the `document` element: translation_progress="{'total': 0, 'translated': 0}"
1 parent 719fc77 commit 3732d10

12 files changed

+12
-12
lines changed

tests/test_snippets/snippet_myst_post_gridtable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" widths="3 9">
1+
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" translation_progress="{'total': 0, 'translated': 0}" widths="3 9">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_myst_post_infocard.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_myst_post_tag.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_myst_pre_gridtable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" widths="3 9">
1+
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" translation_progress="{'total': 0, 'translated': 0}" widths="3 9">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_myst_pre_infocard.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_myst_pre_tag.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_rst_post_gridtable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" widths="3 9">
1+
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" translation_progress="{'total': 0, 'translated': 0}" widths="3 9">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_rst_post_infocard.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_rst_post_tag.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document source="index">
1+
<document source="index" translation_progress="{'total': 0, 'translated': 0}">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

tests/test_snippets/snippet_rst_pre_gridtable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" widths="3 9">
1+
<document row="<container classes="sd-row sd-m-0 sd-p-0" design_component="grid-row" is_div="True"><container classes="sd-col sd-d-flex-column sd-col-3 sd-col-xs-3 sd-col-sm-3 sd-col-md-3 sd-col-lg-3" design_component="grid-item" is_div="True"><paragraph>Franz</paragraph></container><container classes="sd-col sd-d-flex-column sd-col-9 sd-col-xs-9 sd-col-sm-9 sd-col-md-9 sd-col-lg-9" design_component="grid-item" is_div="True"><paragraph>Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.</paragraph></container></container>" row-class="" source="index" translation_progress="{'total': 0, 'translated': 0}" widths="3 9">
22
<section ids="heading" names="heading">
33
<title>
44
Heading

0 commit comments

Comments
 (0)