Commit fa0e457d authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_corporate_identity_test: update tests

parent 2fddfa9e
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>6f858aff4a47a4f505f1391940cf1eaf</string> </value>
<value> <string>6430c6c0c354740b1e1bc6cefca1c794</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>f001f905e5256251a9fbe825091debd7</string> </value>
<value> <string>dfff9e4998b1397a1a515fd9300d21f6</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>692504124ea7958fefe8178941ab75b1</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>842</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>template_test_book_image_alt_span_bmp</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Image</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>595</int> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>985a87fdc9edabb1bc4fdb0c6546b048</string> </value>
<value> <string>4f4b0663f793d7c760f90c24273242e7</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>9316b312ae9128fb1c90bef15fa7ee74</string> </value>
<value> <string>682a2ce3fdc073375ed7cfef3ad9f2aa</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -87,7 +87,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>837b2f9266997816bbfe93e0151e4f27</string> </value>
<value> <string>bf0cbaac80ffc80bd0afc296d3069029</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>74fe638f5959544685483e766b391178</string> </value>
<value> <string>178e887e1ba1b34aab1163d15a1ed2c2</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -87,7 +87,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>7b936abf8dce250935aff9a23d3664dc</string> </value>
<value> <string>55eedd5f711990c7db404caf7d047157</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>5b948fa9f5e6fef74e1be12be7fc64ed</string> </value>
<value> <string>f21ae619ca1d9d36aa4e9349f75ba5dd</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>7112dbcf271a6cdb28ca4f3a0c4722f0</string> </value>
<value> <string>2531ec367c9dcad50248962e4582c922</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>d529ddd644336d8cbb271ce7840bf845</string> </value>
<value> <string>783ac0451b1aaef714b6b8783ac97616</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>ebf99db063c1993fd09f1f70aa039179</string> </value>
<value> <string>82994bc440fb08256cc427ba0e43f5a6</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>6947b752b73e3176d50b798eceb28bc7</string> </value>
<value> <string>24c46b388a3ea08f9c966214ac5e6d34</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>b8e49cfd2c91db4e5d0a98c23c9b37ae</string> </value>
<value> <string>711b2fdbff765c226e91de8203ab60ed</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>fed59dd92999d7dbcd56450a5ca5b7b8</string> </value>
<value> <string>03ae77b690997ed3e9a883f8f0cc0dcd</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>70e08dd385c2fae05d7c2dca88934d48</string> </value>
<value> <string>a9d4552a59ccb06d0aad45615d790640</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>9d846fb5fa73d22833aa00d1bb543e9f</string> </value>
<value> <string>50c3afe072cb87db95bbd1a3526f49f2</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>ac74a5c7c5f89e35eb3ff61014318c18</string> </value>
<value> <string>53bd7d4018fc55afba57e0792fec00a6</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>e79d1304bb40d8e89ccb2b3a898fe5f3</string> </value>
<value> <string>abb075df2ca97c47f7e464f820abf4b1</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>3c8345f10c29fe3083277baac991b2c3</string> </value>
<value> <string>f3980d35ab4a963aa761ee5b9a62bcc6</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>2ae07f2d3e742d70284bd8de6b7cf78c</string> </value>
<value> <string>c0d14908fbfcb97e201a07eefaa863c8</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>524d5eaccdd5ee80d98dd90f66007b96</string> </value>
<value> <string>492c00e49531999be6dc4072e82be2f7</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>eef73bd17c133255454f639a40d65298</string> </value>
<value> <string>cca419cd307ace505a081d9cb1b357e6</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -85,7 +85,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>239c0ed9eff4a1b274cd6bb3e3528d7f</string> </value>
<value> <string>c2edcdcafb67aaf47aa7443b4708dbae</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>b78cb46e10d1d619538ceead1f1fd6c9</string> </value>
<value> <string>1865eb54fd8f0eb366327b05f082ed85</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>c7b6b7b9f9995c999e8354e837db3e8b</string> </value>
<value> <string>09b97a6d4e3ffe35998b5768e363b112</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>cbf8b10f868052adbcc902b99b338825</string> </value>
<value> <string>c0b0d08f6111c2a7592678bcd7778bc8</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>778e795a6c8dcc11e25c6b182ddd03af</string> </value>
<value> <string>81155dd324564073520cf462c2f09a7f</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>e535ef5fc8cbd927185fb852cf868064</string> </value>
<value> <string>acd67651ae9acc0f08fdd8941d313503</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>80777d0dcd1655271a5dcce683f382a2</string> </value>
<value> <string>39a9f096e86288b3122ed1f588716c63</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>f1f42553a72647f0f3596ff7f8ca40e2</string> </value>
<value> <string>215597cc5756107b52a1e1b2abe1f82f</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>fb944819c3d3c11fc95753cd76fc69a1</string> </value>
<value> <string>cae0e71576ddc919b035309ba75523d4</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>8cdf007568bd23d4078530329b002583</string> </value>
<value> <string>3664093b2192dd5ec0cbce7cbf2abfc8</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>ffb70025ccc38f5ec0ffb4e1a77c7fd8</string> </value>
<value> <string>8b7d44420c7f261cb605780f844dc715</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>71f287c88f704f17e19024b2b0115f7a</string> </value>
<value> <string>75a4395c68545c5432c3ff0caf5049b3</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>13e24b669a9850bdcea13be52fd976cc</string> </value>
<value> <string>982783c0a7479e2100c2fd7657a08d01</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>91ae89200fb9c7fc682e650a0f750433</string> </value>
<value> <string>9e294307002601a2fa4c873c6353af5a</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>88d4172af492f48b20d4fa9e285056d8</string> </value>
<value> <string>d5fb12335a0b75f4d13a03133bfa6358</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>6ade26937eb7b5379a1832e5c75a3f75</string> </value>
<value> <string>de8dd625a96c878ed1b9f6d10e57a5b7</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>921c49a37e352382a96be804e4b3de70</string> </value>
<value> <string>ab550ce681a30040b0eaaa3e8f34099f</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>fa09a809046b6c81db4ca64f95de1083</string> </value>
<value> <string>a071bd57c53b34efcf4c6022b976eb77</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>aeb02a38a53ace7aa04facae66dff972</string> </value>
<value> <string>045dc7d6d8408009ec6e664dbe8ead7a</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -79,7 +79,7 @@
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>8f577284c0263eb1f4f672446b43d2e5</string> </value>
<value> <string>bbb52f571f8c6ba4d650fecb40f42025</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
......
......@@ -173,7 +173,7 @@ Note:
</tr>
<tr>
<td>uncheck</td>
<td>name=field_include_content_table</td>
<td>name=field_your_include_content_table</td>
<td></td>
</tr>
<tr>
......@@ -440,7 +440,7 @@ Note:
<!-- Base_callDialogMethod max 2000 chars for url_params_string fails here -->
<tr>
<td>type</td>
<td>name=field_override_logo_reference</td>
<td>name=field_your_override_logo_reference</td>
<td>Template.Test.Image.Erp5.Logo</td>
</tr>
<tr>
......@@ -460,62 +460,62 @@ Note:
</tr>
<tr>
<td>check</td>
<td>name=field_include_history_table</td>
<td>name=field_your_include_history_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_content_table</td>
<td>name=field_your_include_content_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_reference_table</td>
<td>name=field_your_include_reference_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_linked_content</td>
<td>name=field_your_include_linked_content</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_report_content</td>
<td>name=field_your_include_report_content</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_description</td>
<td>name=field_your_override_document_description</td>
<td>foobar</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_title</td>
<td>name=field_your_override_document_title</td>
<td>Couscous</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_short_title</td>
<td>name=field_your_override_document_short_title</td>
<td>Cous</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_reference</td>
<td>name=field_your_override_document_reference</td>
<td>P-XYZ-Foobar</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Organisation</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Sender</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_version</td>
<td>name=field_your_override_document_version</td>
<td>333</td>
</tr>
<tr>
......@@ -1249,12 +1249,12 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>uncheck</td>
<td>name=field_include_content_table</td>
<td>name=field_your_include_content_table</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1506,72 +1506,72 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_history_table</td>
<td>name=field_your_include_history_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_content_table</td>
<td>name=field_your_include_content_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_reference_table</td>
<td>name=field_your_include_reference_table</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_linked_content</td>
<td>name=field_your_include_linked_content</td>
<td></td>
</tr>
<tr>
<td>check</td>
<td>name=field_include_report_content</td>
<td>name=field_your_include_report_content</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_description</td>
<td>name=field_your_override_document_description</td>
<td>foobar</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_title</td>
<td>name=field_your_override_document_title</td>
<td>Couscous</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_short_title</td>
<td>name=field_your_override_document_short_title</td>
<td>Cous</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_reference</td>
<td>name=field_your_override_document_reference</td>
<td>P-XYZ-Foobar</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_logo_reference</td>
<td>name=field_your_override_logo_reference</td>
<td>Template.Test.Image.Erp5.Logo</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Organisation</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Sender</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_document_version</td>
<td>name=field_your_override_document_version</td>
<td>333</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1848,7 +1848,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -2101,7 +2101,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......
......@@ -425,22 +425,22 @@ Note:
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Recipient</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_leaflet_header_title</td>
<td>name=field_your_override_leaflet_header_title</td>
<td>Couscous</td>
</tr>
<tr>
<td>uncheck</td>
<td>name=field_display_side</td>
<td>name=field_your_display_side</td>
<td></td>
</tr>
<tr>
......@@ -938,7 +938,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1195,27 +1195,27 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Recipient</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_leaflet_header_title</td>
<td>name=field_your_override_leaflet_header_title</td>
<td>Couscous</td>
</tr>
<tr>
<td>check</td>
<td>name=field_display_side</td>
<td>name=field_your_display_side</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1471,7 +1471,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......
......@@ -687,37 +687,37 @@ Note:
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_destination_organisation_title</td>
<td>name=field_your_override_destination_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_destination_person_title</td>
<td>name=field_your_override_destination_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>type</td>
<td>name=subfield_field_override_date_year</td>
<td>name=subfield_field_your_override_date_year</td>
<td>1999</td>
</tr>
<tr>
<td>type</td>
<td>name=subfield_field_override_date_month</td>
<td>name=subfield_field_your_override_date_month</td>
<td>12</td>
</tr>
<tr>
<td>type</td>
<td>subfield_field_override_date_day</td>
<td>subfield_field_your_override_date_day</td>
<td>31</td>
</tr>
<tr>
......@@ -989,7 +989,7 @@ Note:
</tr>
<tr>
<td>uncheck</td>
<td>name=field_display_head</td>
<td>name=field_your_display_head</td>
<td></td>
</tr>
<tr>
......@@ -1225,7 +1225,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1476,7 +1476,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1727,42 +1727,42 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_destination_organisation_title</td>
<td>name=field_your_override_destination_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_destination_person_title</td>
<td>name=field_your_override_destination_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>type</td>
<td>name=subfield_field_override_date_year</td>
<td>name=subfield_field_your_override_date_year</td>
<td>1999</td>
</tr>
<tr>
<td>type</td>
<td>name=subfield_field_override_date_month</td>
<td>name=subfield_field_your_override_date_month</td>
<td>12</td>
</tr>
<tr>
<td>type</td>
<td>subfield_field_override_date_day</td>
<td>subfield_field_your_override_date_day</td>
<td>31</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -2013,12 +2013,12 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>uncheck</td>
<td>name=field_display_head</td>
<td>name=field_your_display_head</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......
......@@ -425,17 +425,17 @@ Note:
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>uncheck</td>
<td>name=field_display_about</td>
<td>name=field_your_display_about</td>
<td></td>
</tr>
<tr>
......@@ -666,7 +666,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -922,22 +922,22 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Test Association</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_person_title</td>
<td>name=field_your_override_source_person_title</td>
<td>Test Association Member</td>
</tr>
<tr>
<td>check</td>
<td>name=field_display_about</td>
<td>name=field_your_display_about</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......
......@@ -344,14 +344,9 @@ Note:
</tr>
<tr>
<td>type</td>
<td>name=field_override_logo_reference</td>
<td>name=field_your_override_logo_reference</td>
<td>Template.Test.Image.Logo.Alternativ</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>Foobarbazbam</td>
</tr>
<tr>
<td>click</td>
<td>//input[@value="svg"]</td>
......@@ -374,7 +369,7 @@ Note:
</tr>
<tr>
<td>verifyValue</td>
<td>name=field_display_svg</td>
<td>name=field_your_display_svg</td>
<td>on</td>
</tr>
<tr>
......@@ -796,7 +791,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1048,12 +1043,12 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>check</td>
<td>name=field_display_note</td>
<td>name=field_your_display_note</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1305,7 +1300,7 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1557,17 +1552,17 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_logo_reference</td>
<td>name=field_your_override_logo_reference</td>
<td>Template.Test.Image.Erp5.Logo</td>
</tr>
<tr>
<td>type</td>
<td>name=field_override_source_organisation_title</td>
<td>name=field_your_override_source_organisation_title</td>
<td>Couscous</td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......@@ -1820,12 +1815,12 @@ Note:
</tr>
<tr>
<td>select</td>
<td>name=field_format</td>
<td>name=field_your_format</td>
<td>index=1</td>
</tr>
<tr>
<td>check</td>
<td>name=field_display_note</td>
<td>name=field_your_display_note</td>
<td></td>
</tr>
<tal:block tal:condition="python: no_file_update == False">
......
<img alt="This is Very long line cdvdv sdvdfvdfv scdscs scsvc DVSD DVDV SFV SF SFDDV SFDDG SGFDG SDDGGDGd dcdvdvdv sfcdvdvdv" src="./image_module/template_test_last_view_bmp?format=" />
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Web Page" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>template_test_book_image_alt_span_html</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Web Page</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -42,7 +42,7 @@
<div id="legalese">
<p class="top"><span>&copy;</span><span>Test Organisation 1976</span></p>
<p>
<span>Test Organisation</span><br />
<span></span><br />
<span>Test Drive 123</span><br />
<span>12345 Test City</span><br />
<span></span><br />
......
......@@ -42,7 +42,7 @@
<div id="legalese">
<p class="top"><span>&copy;</span><span>Test Association 1976</span></p>
<p>
<span>Test Association</span><br />
<span></span><br />
<span>Foss Street 101</span><br />
<span>98765 Libertyville</span><br />
<span></span><br />
......
......@@ -42,7 +42,7 @@
<div id="legalese">
<p class="top"><span>&copy;</span><span>Test Organisation 1976</span></p>
<p>
<span>Test Organisation</span><br />
<span></span><br />
<span>Test Drive 123</span><br />
<span>12345 Test City</span><br />
<span></span><br />
......
......@@ -158,22 +158,20 @@ mi aliquet a praesent ante orci accumsan magna neque.
<tr>
<td>
<div>
<span class="ci-letter-footer-title">Address</span><span>Test Organisation</span>
<span class="ci-letter-footer-title">Address</span><span></span>
<span class="ci-letter-footer-title">&nbsp;</span><span>Test Drive 123</span>
<span class="ci-letter-footer-title">&nbsp;</span><span></span>
<span class="ci-letter-footer-title">&nbsp;</span><span>12345 Test City</span>
<span class="ci-letter-footer-title">&nbsp;</span><span> </span>
<span class="ci-letter-footer-title">&nbsp;</span><span></span>
</div>
</td>
<td>
<div>
<span class="ci-letter-footer-title">Telephone</span><span>+123 456 789 0</span>
<span class="ci-letter-footer-title">Email</span><span>info@test-organisation.eu</span>
<span class="ci-letter-footer-title">Email</span><span>author@test-organisation.com</span>
</div>
......
......@@ -201,7 +201,7 @@ class TestCorporateIdentityMethod(ERP5TypeTestCase):
self.assertEqual(output, doc_content)
output =web_page_with_follow_up.WebPage_embedReportDocumentList(doc_content)
self.assertEqual(output, '<div>%s</div>' % web_page_with_follow_up.Base_generateCorporareIdentityTestReport()[0])
self.assertEqual(output, '<div>%s</div>' % web_page_with_follow_up.Base_generateCorporareIdentityTestReport(display_comment=True)[0])
# it has no matter with/without follow up
doc_content = '<div> <a href="sale_opportunity_module/template_test_embed_sale_opportunity?report=Base_generateCorporareIdentityTestReport&amp;test=23"></a> </div>'
......
......@@ -1662,6 +1662,24 @@ class TestCorporateIdentityTemplateList(ERP5TypeTestCase):
)
)
@changeSkin('Book')
def test_pdfBookImageAltSpan(self):
"""
"""
self.runPdfTestPattern(
"template_test_book_image_alt_span_html",
"template_test_book_image_alt_span_bmp",
"template_test_image_source_pdf",
**dict(
page_number=1,
use_skin="Book",
test_method="WebPage_exportAsBook",
format="pdf",
override_revision=1,
include_reference_table = 1
)
)
@changeSkin('Book')
def test_pdfBookPrint(self):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment