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
Updated by Alexis Mousset almost 8 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset almost 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/ncf/pull/515
Updated by Alexis Mousset almost 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset e222eb0d9f897f514b5d9d6b7012d5c74369c000.
Updated by Vincent MEMBRÉ about 7 years ago
- Status changed from Pending release to Released
- Priority set to 0
Updated by Alexis Mousset over 2 years ago
- Target version changed from 1.0 to ncf-1.0
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Technique editor - API to Web - Technique editor
Actions