Skip to content

Commit f56fce6

Browse files
authored
SONARPY-2463: Fix plugin_qa task (#2242)
This commit removes the failing test related to the `ncloc_data` and `executable_lines_data` metrics.
1 parent e82e997 commit f56fce6

File tree

1 file changed

+0
-11
lines changed
  • its/plugin/it-python-plugin-test/src/test/java/com/sonar/python/it/plugin

1 file changed

+0
-11
lines changed

its/plugin/it-python-plugin-test/src/test/java/com/sonar/python/it/plugin/MetricsTest.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,6 @@ void file_level() {
153153
assertThat(getFileMeasureAsInt(VIOLATIONS)).isZero();
154154
}
155155

156-
@Test
157-
void should_be_compatible_with_DevCockpit() {
158-
// TODO probably bug in Sonar: order might depend on JVM
159-
assertThat(getFileMeasure(NCLOC_DATA).getValue())
160-
.doesNotContain("1=1")
161-
.contains("5=1");
162-
assertThat(getFileMeasure(EXECUTABLE_LINES_DATA).getValue())
163-
.doesNotContain("1=1")
164-
.contains("5=1");
165-
}
166-
167156
/* Helper methods */
168157

169158
private Measure getProjectMeasure(String metricKey) {

0 commit comments

Comments
 (0)