Project

General

Profile

Actions

Bug #9920

closed

Broken API tests

Added by Alexis Mousset over 7 years ago. Updated about 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
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

Also available in: Atom PDF