Commit 2f5f53df authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: erp5_immobilisation: Migrate Documents and Unit Test from filesystem.

parent 7952ff8f
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Document Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>AmortisationRule</string> </value>
</item>
<item>
<key> <string>default_source_reference</string> </key>
<value> <string>Products.ERP5.Document.AmortisationRule</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document.erp5.AmortisationRule</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Document Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 41, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 46, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 47, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 48, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 51, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 52, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 54, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 75, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 76, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W: 77, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 85, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 87, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 88, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 90, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 91, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W: 99, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:100, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:101, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:102, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:103, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:104, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:106, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:108, 0: Bad indentation. Found 16 spaces, expected 12 (bad-indentation)</string>
<string>W:110, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:111, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:112, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:113, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:114, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:115, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:116, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:118, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:121, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:131, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:132, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:133, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:134, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:136, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:141, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:142, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:146, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:147, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:152, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:159, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:160, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:161, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:162, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:163, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:164, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:166, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:168, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:169, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:170, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:171, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:172, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:173, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:174, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:175, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:178, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:179, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:180, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:181, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:182, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:183, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:184, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:185, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:186, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:187, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:192, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:193, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:196, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:198, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:199, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:202, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:204, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:208, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:213, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:214, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:215, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:216, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:221, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:224, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:228, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:233, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:234, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:235, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:236, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:237, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:241, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:242, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:244, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:245, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:246, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:247, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:248, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:249, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:250, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:251, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:252, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:256, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:257, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:259, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:265, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:267, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:269, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:270, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:273, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:274, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:275, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:276, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:277, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:278, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:279, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:280, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:281, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:282, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:283, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:284, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:290, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:295, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:296, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:297, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:298, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:299, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:300, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:301, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:302, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:303, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:306, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:307, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:312, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:323, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:325, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:326, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:327, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:329, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:333, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:334, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:336, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:337, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:338, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:339, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:340, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:341, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:343, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:344, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:345, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:346, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:347, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:350, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:351, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:352, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:353, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:354, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:357, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:358, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:359, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:360, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:361, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:362, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:363, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:365, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:366, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:369, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:370, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:371, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:372, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:373, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:374, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:376, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:378, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:379, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:383, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:384, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:385, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:386, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:387, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:388, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:389, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:390, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:391, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:392, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:393, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:394, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:395, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:397, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:400, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:401, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:402, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:403, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:405, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:406, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:411, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:412, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:413, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:415, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:416, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:417, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:419, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:421, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:422, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:423, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:424, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:428, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:429, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:434, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:435, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:436, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:437, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:438, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:443, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:444, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:445, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:447, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:448, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:449, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:450, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:455, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:456, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:457, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:459, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:460, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:461, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:463, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:464, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:466, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:470, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:474, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:475, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:476, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:477, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:479, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:483, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:487, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:491, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:492, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:493, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:494, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:495, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:499, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:503, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:504, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:508, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:509, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:512, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:515, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:516, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:524, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:525, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:526, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:527, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:528, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:529, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:531, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:532, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:533, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:540, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:541, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:542, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:543, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:546, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:547, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:556, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:559, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:560, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:561, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:562, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:563, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:564, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:565, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:566, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:568, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:569, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:570, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:571, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:574, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:575, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:576, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:577, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:578, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:579, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:580, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:581, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:582, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:583, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:584, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:585, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:586, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:587, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:588, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:589, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:593, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:594, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:595, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:596, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:597, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:598, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:599, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:600, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:601, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:602, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:604, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:605, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:606, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:607, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:610, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:611, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:612, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:613, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:614, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:615, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:616, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:617, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:618, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:623, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:624, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:625, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:626, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:627, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:628, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:629, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:630, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:631, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:632, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:633, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:634, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:635, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:636, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:637, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:638, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:639, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string>
<string>W:640, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string>
<string>W:642, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:643, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:644, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:648, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:649, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:650, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:651, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:652, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:662, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:663, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:664, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:665, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:666, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:667, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:668, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:669, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:670, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:671, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:672, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:673, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:674, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:676, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:680, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:681, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:685, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:686, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:687, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:688, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:689, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:690, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:691, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:692, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:693, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:696, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:697, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:698, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:703, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:705, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:707, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:709, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:711, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:713, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:715, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:717, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:720, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:722, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:723, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:724, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:727, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:729, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:730, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:731, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:732, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:738, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:740, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:741, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:742, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:744, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:745, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:746, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:747, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:748, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:749, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:750, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:751, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:752, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:753, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:754, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:755, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:756, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:758, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:759, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:779, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:780, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:781, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:782, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:783, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:784, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:785, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:786, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:787, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:788, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:789, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:790, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:791, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:792, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:793, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:794, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:795, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:796, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:797, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:798, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:799, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:800, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:803, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:804, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:805, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:806, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:810, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:811, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:812, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:813, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:814, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:815, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:816, 0: Bad indentation. Found 18 spaces, expected 16 (bad-indentation)</string>
<string>W:817, 0: Bad indentation. Found 20 spaces, expected 18 (bad-indentation)</string>
<string>W:819, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:820, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:821, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:822, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:825, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:826, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:827, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:828, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:829, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:830, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:831, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:832, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:834, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:835, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:836, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:837, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:838, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:864, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:865, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:866, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:902, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:903, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:904, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:906, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:907, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:908, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:909, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:910, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:914, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:924, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:925, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:926, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:929, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:930, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:931, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:932, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:933, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:937, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:945, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:947, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:951, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:952, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:953, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:954, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:955, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:956, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:957, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:958, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:959, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:960, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:962, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:963, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:964, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:965, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:966, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:968, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:969, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:970, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:971, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:972, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:973, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:990, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:991, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:992, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:995, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:996, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:997, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:998, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:999, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1018, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:1019, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1021, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1023, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1026, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1027, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1034, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1035, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1036, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1039, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1048, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1049, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1050, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1051, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1052, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1053, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1054, 0: Bad indentation. Found 12 spaces, expected 10 (bad-indentation)</string>
<string>W:1055, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1056, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1057, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1058, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1059, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1060, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1061, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1062, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1063, 0: Bad indentation. Found 14 spaces, expected 12 (bad-indentation)</string>
<string>W:1064, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1065, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1066, 0: Bad indentation. Found 16 spaces, expected 14 (bad-indentation)</string>
<string>W:1067, 0: Bad indentation. Found 10 spaces, expected 8 (bad-indentation)</string>
<string>W:1068, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:1071, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:1072, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:1074, 0: Bad indentation. Found 4 spaces, expected 2 (bad-indentation)</string>
<string>W:1075, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:1077, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W:1078, 0: Bad indentation. Found 8 spaces, expected 6 (bad-indentation)</string>
<string>W:1079, 0: Bad indentation. Found 6 spaces, expected 4 (bad-indentation)</string>
<string>W: 76, 4: Dangerous default value {} as argument (dangerous-default-value)</string>
<string>W: 76, 4: Arguments number differs from overridden \'expand\' method (arguments-differ)</string>
<string>W:142, 14: Redefining built-in \'property\' (redefined-builtin)</string>
<string>W:297, 6: Unused variable \'portal_workflow\' (unused-variable)</string>
<string>W:556, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:623, 14: Unused variable \'movement_type\' (unused-variable)</string>
<string>W:703, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:707, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:711, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:715, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:727, 6: Dangerous default value [] as argument (dangerous-default-value)</string>
<string>W:827, 10: Unused variable \'previous_start_date\' (unused-variable)</string>
<string>W:750, 10: Unused variable \'disposal_price\' (unused-variable)</string>
<string>W:747, 10: Unused variable \'initial_method\' (unused-variable)</string>
<string>W:829, 10: Unused variable \'previous_start_movement\' (unused-variable)</string>
<string>W:1077, 6: Unreachable code (unreachable)</string>
</tuple>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Document Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>Immobilisation</string> </value>
</item>
<item>
<key> <string>default_source_reference</string> </key>
<value> <string>Products.ERP5.Document.Immobilisation</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document.erp5.Immobilisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Document Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Document Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>ImmobilisationLine</string> </value>
</item>
<item>
<key> <string>default_source_reference</string> </key>
<value> <string>Products.ERP5.Document.ImmobilisationLine</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>document.erp5.ImmobilisationLine</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Document Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -72,28 +72,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -72,28 +72,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
""" """
self.commit() self.commit()
def getBusinessTemplateList(self):
"""
Return the list of business templates.
"""
return ("erp5_core_proxy_field_legacy",
"erp5_base",
"erp5_pdm",# Needed by accounting
"erp5_simulation",
"erp5_trade",
"erp5_accounting",
"erp5_invoicing",
"erp5_simplified_invoicing",
"erp5_immobilisation",
"erp5_computer_immobilisation", # In order to use items
'erp5_configurator_standard_trade_template',
'erp5_configurator_standard_accounting_template',
'erp5_configurator_standard_invoicing_template',
"erp5_simulation_test",
"erp5_movement_table_catalog" # ImmobilisationItem.py uses movement table
)
def getRuleTool(self): def getRuleTool(self):
return getattr(self.getPortal(), 'portal_rules', None) return getattr(self.getPortal(), 'portal_rules', None)
def getAccountingModule(self): def getAccountingModule(self):
...@@ -164,7 +142,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -164,7 +142,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
assignment.open() assignment.open()
person.validate() person.validate()
def updateRoleMappings(self, portal_type_list=[]): def updateRoleMappings(self, portal_type_list=()):
""" """
Update the local roles in existing objects. Update the local roles in existing objects.
""" """
...@@ -172,7 +150,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -172,7 +150,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
for portal_type in portal_type_list: for portal_type in portal_type_list:
for brain in portal_catalog(portal_type = portal_type): for brain in portal_catalog(portal_type = portal_type):
obj = brain.getObject() obj = brain.getObject()
userdb_path, user_id = obj.getOwnerTuple() _, user_id = obj.getOwnerTuple()
obj.updateLocalRolesOnSecurityGroups(user_name = user_id) obj.updateLocalRolesOnSecurityGroups(user_name = user_id)
#obj.assignRoleToSecurityGroup(user_name = user_id) #obj.assignRoleToSecurityGroup(user_name = user_id)
...@@ -188,26 +166,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -188,26 +166,6 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
self.createCategories() self.createCategories()
#Assert default security Value
list_module = [ 'Inventory Module',
'Purchase Packing List Module',
'Internal Packing List Module',
'Sale Packing List Module',
'Building Module',
'Incorporeal Item Module',
'Reevaluation Module',
'Restoration Module',
self.getAccountingModule().getPortalType(),
self.getOrganisationModule().getPortalType(),
self.getItemModule().getPortalType(),
self.getPackingListModule().getPortalType(),
self.getInventoryModule().getPortalType(),
self.getAccountModule().getPortalType(),
self.getCurrencyModule().getPortalType(),
self.getPersonModule().getPortalType()
]
# Then add new components # Then add new components
self.createCurrency() self.createCurrency()
self.createOrganisationList() self.createOrganisationList()
...@@ -403,17 +361,17 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -403,17 +361,17 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
def stepCreatePackingList(self, sequence=None, sequence_list=None, **kw): def stepCreatePackingList(self, sequence=None, sequence_list=None, **kw):
property_dict = {} property_dict = {}
for property in ('source_section','destination_section','datetime','destination'): for property_ in ('source_section','destination_section','datetime','destination'):
value_list = sequence.get(property) value_list = sequence.get(property_)
if value_list is not None: if value_list is not None:
if type(value_list) == type([]): if isinstance(value_list, list):
value = value_list[0] value = value_list[0]
value_list.remove(value) value_list.remove(value)
else: else:
value = value_list value = value_list
else: else:
value = value_list value = value_list
property_dict[property] = value property_dict[property_] = value
pl_module = self.getPackingListModule() pl_module = self.getPackingListModule()
pl = pl_module.newContent(portal_type = self.packing_list_portal_type) pl = pl_module.newContent(portal_type = self.packing_list_portal_type)
pl.edit( source_section_value = property_dict['source_section'], pl.edit( source_section_value = property_dict['source_section'],
...@@ -843,9 +801,9 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -843,9 +801,9 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
self.stepCreatePackingList(sequence=sequence) self.stepCreatePackingList(sequence=sequence)
self.stepAggregateItems(sequence=sequence) self.stepAggregateItems(sequence=sequence)
self.stepDeliverPackingList(sequence=sequence) self.stepDeliverPackingList(sequence=sequence)
for property in ('amortisation_start_price','amortisation_duration','immobilisation_vat', for property_ in ('amortisation_start_price','amortisation_duration','immobilisation_vat',
'extra_cost_price','disposal_price'): 'extra_cost_price','disposal_price'):
del parameter_dict[property] del parameter_dict[property_]
parameter_dict['amortisation_method'] = NO_CHANGE_METHOD parameter_dict['amortisation_method'] = NO_CHANGE_METHOD
sequence.edit(datetime = DateTime('2001/01/01'), sequence.edit(datetime = DateTime('2001/01/01'),
parameter_dict = parameter_dict, parameter_dict = parameter_dict,
...@@ -903,11 +861,11 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -903,11 +861,11 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
self.stepAggregateItems(sequence=sequence) self.stepAggregateItems(sequence=sequence)
self.stepDeliverPackingList(sequence=sequence) self.stepDeliverPackingList(sequence=sequence)
self.tic() self.tic()
for property in ('amortisation_start_price','amortisation_duration','immobilisation_vat', for property_ in ('amortisation_start_price','amortisation_duration','immobilisation_vat',
'extra_cost_price','disposal_price'): 'extra_cost_price','disposal_price'):
del parameter_dict[property] del parameter_dict[property_]
for property in self.account_dict.keys(): for property_ in self.account_dict.keys():
del parameter_dict[property] del parameter_dict[property_]
parameter_dict.update(self.extra_monthly_dict) parameter_dict.update(self.extra_monthly_dict)
sequence.edit(datetime = DateTime('2002/03/01'), sequence.edit(datetime = DateTime('2002/03/01'),
parameter_dict = parameter_dict, parameter_dict = parameter_dict,
...@@ -1138,10 +1096,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -1138,10 +1096,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
c_value = c_period[key] c_value = c_period[key]
is_float = 0 is_float = 0
try: try:
if type(c_value) != type(DateTime()): if not isinstance(c_value, DateTime):
c_value=float(c_value) c_value=float(c_value)
is_float = 1 is_float = 1
except: except Exception:
pass pass
if is_float: if is_float:
self.assertEqual(round(c_value,2),e_value) self.assertEqual(round(c_value,2),e_value)
...@@ -2108,10 +2066,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -2108,10 +2066,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
c_value = getattr(c_movement,key)() c_value = getattr(c_movement,key)()
is_float = 0 is_float = 0
try: try:
if type(c_value) != type(DateTime()): if not isinstance(c_value, DateTime):
c_value=float(c_value) c_value=float(c_value)
is_float = 1 is_float = 1
except: except Exception:
pass pass
if is_float: if is_float:
wrong_movement = (round(c_value,2) != round(e_value,2)) wrong_movement = (round(c_value,2) != round(e_value,2))
...@@ -2144,7 +2102,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -2144,7 +2102,7 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
#LOG('More expected movements than calculated ! Remaining expected ones are', 0, e_simulation_movement_list) #LOG('More expected movements than calculated ! Remaining expected ones are', 0, e_simulation_movement_list)
self.assertEqual(len(e_simulation_movement_list),0) self.assertEqual(len(e_simulation_movement_list),0)
def _buildExpectedTransaction(self, date, source_section, destination_section, causality_state, causality_list=[]): def _buildExpectedTransaction(self, date, source_section, destination_section, causality_state, causality_list):
self.id_transaction+=1 self.id_transaction+=1
r_dict = {'id':self.id_transaction,'start_date':DateTime(date), 'stop_date':DateTime(date), r_dict = {'id':self.id_transaction,'start_date':DateTime(date), 'stop_date':DateTime(date),
'resource':'currency_module/EUR', 'line_list':[], 'resource':'currency_module/EUR', 'line_list':[],
...@@ -2952,14 +2910,14 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -2952,14 +2910,14 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
#LOG('c_value : ',0,c_value) #LOG('c_value : ',0,c_value)
is_float = 0 is_float = 0
try: try:
if type(c_value) != type(DateTime()): if not isinstance(c_value, DateTime):
c_value=float(c_value) c_value=float(c_value)
is_float = 1 is_float = 1
except: except Exception:
pass pass
if type(c_value) == type([]): if isinstance(c_value, list):
c_value.sort(key=lambda x: x.getId()) c_value.sort(key=lambda x: x.getId())
if type(e_value) == type([]): if isinstance(e_value, list):
e_value.sort(key=lambda x: x.getId()) e_value.sort(key=lambda x: x.getId())
if is_float: if is_float:
wrong_transaction = (round(c_value,2) != round(e_value,2)) wrong_transaction = (round(c_value,2) != round(e_value,2))
...@@ -2997,10 +2955,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase): ...@@ -2997,10 +2955,10 @@ class TestImmobilisationMixin(ERP5TypeTestCase):
c_value = getattr(c_line,key)() c_value = getattr(c_line,key)()
is_float = 0 is_float = 0
try: try:
if type(c_value) != type(DateTime()): if not isinstance(c_value, DateTime):
c_value=float(c_value) c_value=float(c_value)
is_float = 1 is_float = 1
except: except Exception:
pass pass
if is_float: if is_float:
wrong_line = (round(c_value,2) != round(e_value,2)) wrong_line = (round(c_value,2) != round(e_value,2))
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Test Component" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>default_reference</string> </key>
<value> <string>testImmobilisation</string> </value>
</item>
<item>
<key> <string>default_source_reference</string> </key>
<value> <string>Products.ERP5.tests.testImmobilisation</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test.erp5.testImmobilisation</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Test Component</string> </value>
</item>
<item>
<key> <string>sid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>text_content_error_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>erp5</string> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>component_validation_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>validate</string> </value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>validated</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
document.erp5.ImmobilisableItem document.erp5.AmortisationRule
\ No newline at end of file document.erp5.ImmobilisableItem
document.erp5.Immobilisation
document.erp5.ImmobilisationLine
\ No newline at end of file
test.erp5.testImmobilisation
\ No newline at end of file
erp5_full_text_mroonga_catalog
erp5_core_proxy_field_legacy
erp5_base
erp5_pdm
erp5_simulation
erp5_trade
erp5_accounting
erp5_invoicing
erp5_simplified_invoicing
erp5_immobilisation
erp5_computer_immobilisation
erp5_configurator_standard_trade_template
erp5_configurator_standard_accounting_template
erp5_configurator_standard_invoicing_template
erp5_simulation_test
erp5_movement_table_catalog
\ No newline at end of file
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