test logging improved

This commit is contained in:
Ilya.Kazakevich
2016-03-22 23:32:55 +03:00
parent fc7260a8ea
commit 49a69e2550
+3 -1
View File
@@ -194,7 +194,9 @@ public final class PyToxTest extends PyEnvTestCase {
// Check expected output
Assert
.assertThat(String.format("Interpreter %s does not have expected string in output", interpreterName),
.assertThat(String.format("Interpreter %s does not have expected string in output. \n " +
"All : " + all + "\n" +
"Error:" + stderr, interpreterName),
getTestOutput(interpreterSuite), Matchers.containsString(myInterpreters.get(interpreterName).myExpectedOutput));
}