Actions
Bug #9920
closedBroken API tests
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
....F.F.... ====================================================================== FAIL: test_expected_reports_with_quote (__main__.TestNcfRudder) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ncf_rudder.py", line 99, in test_expected_reports_with_quote self.assertEquals(expected_reports_string, self.test_expected_reports_with_quote_csv_content) AssertionError: u"# This file contains one line per report expected by Rudder from this technique\n# Format: technique_name;;class_prefix_${key};;@@RUDDER_ID@@;;component name;;component key\nTechnique_with_quote;;command_execution_/bin/echo 'Executing echo';;@@RUDDER_ID@@;;Command execution;;/bin/echo 'Executing echo'\n" != "# This file contains one line per report expected by Rudder from this technique\n# Format: technique_name;;class_prefix_${key};;@@RUDDER_ID@@;;component name;;component key\nTechnique_with_quote;;command_execution_/bin/echo 'Executing echo';;@@RUDDER_ID@@;;Command execution;;/bin/echo \\'Executing echo\\'\n" ====================================================================== FAIL: test_metadate_with_quote (__main__.TestNcfRudder) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_ncf_rudder.py", line 104, in test_metadate_with_quote self.assertEquals(expected_metadata_pure_xml, metadata_xml_string) AssertionError: '<TECHNIQUE name="Technique with quote">\n <DESCRIPTION>A technique with quote</DESCRIPTION>\n <BUNDLES>\n <NAME>Technique_with_quote</NAME>\n </BUNDLES>\n <FILES>\n <FILE name="RUDDER_CONFIGURATION_REPOSITORY/ncf/50_techniques/Technique_with_quote/Technique_with_quote.cf">\n <INCLUDED>true</INCLUDED>\n </FILE>\n </FILES>\n <SECTIONS>\n <SECTION component="true" multivalued="true" name="Command execution">\n <REPORTKEYS>\n <VALUE><![CDATA[/bin/echo \\\'Executing echo\\\']]></VALUE>\n </REPORTKEYS>\n </SECTION>\n </SECTIONS>\n</TECHNIQUE>\n' != u'<TECHNIQUE name="Technique with quote">\n <DESCRIPTION>A technique with quote</DESCRIPTION>\n <BUNDLES>\n <NAME>Technique_with_quote</NAME>\n </BUNDLES>\n <FILES>\n <FILE name="RUDDER_CONFIGURATION_REPOSITORY/ncf/50_techniques/Technique_with_quote/Technique_with_quote.cf">\n <INCLUDED>true</INCLUDED>\n </FILE>\n </FILES>\n <SECTIONS>\n <SECTION component="true" multivalued="true" name="Command execution">\n <REPORTKEYS>\n <VALUE><![CDATA[/bin/echo \'Executing echo\']]></VALUE>\n
Actions