Created
March 7, 2016 21:07
-
-
Save Makman2/eb68dde025995ad270b4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mak@localhost:~/dev/coala (master) +1 ~0 -0 $ py.test | |
| Test session starts (platform: linux, Python 3.4.3, pytest 2.8.7, pytest-sugar 0.5.1) | |
| rootdir: /home/mak/dev/coala, inifile: setup.cfg | |
| plugins: timeout-1.0.0, sugar-0.5.1, xdist-1.14, doc-0.0.1, env-0.6.0, cov-2.2.1 | |
| docs/index.rst ⚫ 0% | |
| docs/General_Dev_Info/git_tutorial_1.rst ⚫ 0% ▏ | |
| docs/Getting_Involved/Codestyle.rst ⚫ 1% ▏ | |
| docs/Getting_Involved/MAC_Hints.rst ⚫ 1% ▏ | |
| docs/Getting_Involved/Newcomers.rst ⚫ 1% ▏ | |
| docs/Getting_Involved/README.rst ⚫ 1% ▎ | |
| docs/Getting_Involved/Review.rst ⚫ 1% ▎ | |
| docs/Getting_Involved/Testing.rst ⚫ 2% ▎ | |
| docs/Getting_Involved/Writing_Documentation.rst ⚫ 2% ▎ | |
| docs/Getting_Involved/Writing_Good_Commits.rst ⚫ 2% ▎ | |
| docs/Getting_Involved/Writing_Tests.rst ⚫ 2% ▎ | |
| docs/Users/Exit_Codes.rst ⚫ 2% ▎ | |
| docs/Users/External_APIs.rst ⚫ 3% ▍ | |
| docs/Users/Git_Hooks.rst ⚫ 3% ▍ | |
| docs/Users/Glob_Patterns.rst ✓ 3% ▍ | |
| docs/Users/Install.rst ⚫ 3% ▍ | |
| docs/Users/coafile.rst ⚫ 4% ▍ | |
| docs/Users/Tutorials/Git_Help.rst ⚫ 4% ▍ | |
| docs/Users/Tutorials/Linter_Bears.rst ⚫ 4% ▍ | |
| docs/Users/Tutorials/Self_Correcting_Bears.rst ⚫ 4% ▌ | |
| docs/Users/Tutorials/Tutorial.rst ⚫ 4% ▌ | |
| docs/Users/Tutorials/Writing_Bears.rst ⚫ 5% ▌ | |
| tests/MakeTempTest.py ✓ 5% ▌ | |
| tests/coalaCITest.py ✓✓✓✓✓✓✓ 6% ▋ | |
| tests/coalaDbusTest.py ✓ 6% ▋ | |
| tests/coalaDeleteOrigTest.py ✓✓ 7% ▊ | |
| tests/coalaFormatTest.py ✓ 7% ▊ | |
| tests/coalaJSONTest.py ✓✓✓✓✓✓ 8% ▉ | |
| tests/coalaTest.py ✓✓✓ 9% ▉ | |
| tests/bearlib/abstractions/LintTest.py ✓✓✓✓✓✓✓✓ 11% █▏ | |
| tests/bearlib/abstractions/SectionCreatableTest.py ✓✓✓ 11% █▎ | |
| tests/bearlib/languages/LanguageDefinitionTest.py ✓✓✓ 12% █▎ | |
| tests/bearlib/languages/documentation/DocstyleDefinitionTest.py ✓✓✓ 12% █▎ | |
| tests/bearlib/languages/documentation/DocumentationCommentTest.py ✓ 13% █▍ | |
| tests/bearlib/languages/documentation/DocumentationExtractionTest.py ✓✓✓✓✓✓✓✓ 14% █▌ | |
| tests/bearlib/spacing/SpacingHelperTest.py ✓✓✓✓✓ 15% █▌ | |
| tests/bears/BearTest.py ✓✓✓✓✓✓✓✓ 17% █▊ | |
| tests/bears/GlobalBearTest.py ✓✓ 17% █▊ | |
| tests/bears/LocalBearTest.py ✓✓ 18% █▊ | |
| tests/collecting/CollectorsTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 22% ██▎ | |
| tests/collecting/DependenciesTest.py ✓✓✓ 22% ██▎ | |
| tests/collecting/ImportersTest.py ✓✓✓✓✓✓✓✓ 24% ██▌ | |
| tests/misc/BuildManPageTest.py ✓✓✓✓✓✓✓✓✓ 26% ██▋ | |
| tests/misc/ContextManagersTest.py ✓✓✓✓✓✓✓ 27% ██▊ | |
| tests/misc/DecoratorsTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 31% ███▏ | |
| tests/misc/DictUtilitiesTest.py ✓✓ 31% ███▏ | |
| tests/misc/EnumTest.py ✓✓ 31% ███▎ | |
| tests/misc/ExceptionsTest.py ✓ 32% ███▎ | |
| tests/misc/ShellTest.py ✓✓✓✓✓✓✓✓✓✓ 34% ███▍ | |
| tests/misc/StringConverterTest.py ✓✓✓✓✓✓✓✓✓✓✓✓ 36% ███▋ | |
| tests/output/ConfWriterTest.py ✓✓ 36% ███▋ | |
| tests/output/ConsoleInteractionTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 42% ████▎ | |
| tests/output/InteractionsTest.py ✓ 42% ████▎ | |
| tests/output/JSONEncoderTest.py ✓✓✓✓✓✓✓✓✓✓ 44% ████▌ | |
| tests/output/TaggingTest.py ✓✓✓✓ 45% ████▌ | |
| tests/output/dbus/BuildDbusServiceTest.py ✓ 45% ████▋ | |
| tests/output/dbus/DbusAppTest.py ✓ 46% ████▋ | |
| tests/output/dbus/DbusDocumentTest.py ✓✓✓ 46% ████▋ | |
| tests/output/dbus/DbusServerTest.py ✓✓✓✓✓ 47% ████▊ | |
| tests/output/dbus/DbusTest.py 47% ████▊ | |
| ―――――――――――――――――――――――――――――――――――――――――― DbusTest.test_dbus ――――――――――――――――――――――――――――――――――――――――――― | |
| self = <tests.output.dbus.DbusTest.DbusTest testMethod=test_dbus> | |
| def test_dbus(self): | |
| self.document_object_path = self.remote_object.CreateDocument( | |
| self.testcode_c_path, | |
| dbus_interface="org.coala_analyzer.v1") | |
| self.assertRegex(str(self.document_object_path), | |
| r"^/org/coala_analyzer/v1/test/\d+/documents/\d+$") | |
| self.document_object = self.bus.get_object( | |
| "org.coala_analyzer.v1.test", | |
| self.document_object_path) | |
| config_file = self.document_object.SetConfigFile( | |
| "dummy_config", | |
| dbus_interface="org.coala_analyzer.v1") | |
| self.assertEqual(config_file, "dummy_config") | |
| config_file = self.document_object.GetConfigFile( | |
| dbus_interface="org.coala_analyzer.v1") | |
| self.assertEqual(config_file, "dummy_config") | |
| config_file = self.document_object.FindConfigFile( | |
| dbus_interface="org.coala_analyzer.v1") | |
| self.assertEqual(config_file, self.config_path) | |
| analysis = self.document_object.Analyze( | |
| dbus_interface="org.coala_analyzer.v1") | |
| self.maxDiff = None | |
| self.assertEqual(analysis, | |
| (1, | |
| [], | |
| [('default', | |
| True, | |
| [{'debug_msg': '', | |
| 'file': '', | |
| > 'id': analysis[2][0][2][0]['id'], | |
| 'line_nr': "", | |
| 'message': 'test msg', | |
| 'origin': 'LocalTestBear', | |
| 'severity': 'NORMAL'}, | |
| {'debug_msg': '', | |
| 'file': self.testcode_c_path, | |
| 'id': analysis[2][0][2][1]['id'], | |
| 'line_nr': "", | |
| 'message': 'test msg', | |
| 'origin': 'GlobalTestBear', | |
| 'severity': 'NORMAL'}])])) | |
| E IndexError: list index out of range | |
| tests/output/dbus/DbusTest.py:107: IndexError | |
| tests/output/dbus/DbusTest.py ⨯ 47% ████▊ | |
| tests/output/printers/EspeakPrinterTest.py ✓ 48% ████▊ | |
| tests/output/printers/HTMLWriterTest.py ✓✓✓✓ 48% ████▉ | |
| tests/output/printers/ListLogPrinterTest.py ✓ 49% ████▉ | |
| tests/output/printers/LogPrinterTest.py ✓✓✓✓ 49% ████▉ | |
| tests/output/printers/StringPrinterTest.py ✓✓✓✓ 50% █████ | |
| tests/parsing/CliParsingTest.py ✓ 51% █████▏ | |
| tests/parsing/ConfParserTest.py ✓✓✓✓✓✓✓ 52% █████▎ | |
| tests/parsing/GlobbingTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 58% █████▊ | |
| tests/parsing/LineParserTest.py ✓✓✓✓✓✓ 59% █████▉ | |
| tests/parsing/StringProcessing/EscapeTest.py ✓✓✓✓ 60% ██████ | |
| tests/parsing/StringProcessing/InBetweenMatchTest.py ✓✓✓ 61% ██████▏ | |
| tests/parsing/StringProcessing/LimitTest.py ✓✓ 61% ██████▎ | |
| tests/parsing/StringProcessing/MatchTest.py ✓✓ 62% ██████▎ | |
| tests/parsing/StringProcessing/NestedSearchInBetweenTest.py ✓✓✓✓✓✓ 63% ██████▍ | |
| tests/parsing/StringProcessing/PositionIsEscapedTest.py ✓✓ 63% ██████▍ | |
| tests/parsing/StringProcessing/SearchForTest.py ✓✓✓✓✓ 64% ██████▌ | |
| tests/parsing/StringProcessing/SearchInBetweenTest.py ✓✓✓✓✓✓ 66% ██████▋ | |
| tests/parsing/StringProcessing/SplitTest.py ✓✓✓✓✓ 67% ██████▋ | |
| tests/parsing/StringProcessing/TrimEmptyMatchesTest.py ✓✓ 67% ██████▊ | |
| tests/parsing/StringProcessing/UnescapeTest.py ✓✓ 67% ██████▊ | |
| tests/parsing/StringProcessing/UnescapedSearchForTest.py ✓✓✓✓✓✓ 69% ██████▉ | |
| tests/parsing/StringProcessing/UnescapedSearchInBetweenTest.py ✓✓✓✓✓✓ 70% ███████ | |
| tests/parsing/StringProcessing/UnescapedSplitTest.py ✓✓✓✓✓ 71% ███████▏ | |
| tests/parsing/StringProcessing/UnescapedStripTest.py ✓✓✓ 72% ███████▎ | |
| tests/processes/BearRunningTest.py ✓✓✓✓✓✓ 73% ███████▍ | |
| tests/processes/LogPrinterThreadTest.py ✓ 73% ███████▍ | |
| tests/processes/ProcessingTest.py ✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓ 77% ███████▊ | |
| tests/processes/communication/LogMessageTest.py ✓✓✓✓ 78% ███████▊ | |
| tests/results/DiffTest.py ✓✓✓✓✓✓✓✓✓✓ 80% ████████ | |
| tests/results/HiddenResultTest.py ✓ 80% ████████▏ | |
| tests/results/LineDiffTest.py ✓✓ 81% ████████▏ | |
| tests/results/RESULT_SEVERITYTest.py ✓ 81% ████████▏ | |
| tests/results/ResultFilterTest.py ✓✓✓✓✓✓✓ 82% ████████▎ | |
| tests/results/ResultTest.py ✓✓✓✓✓✓✓✓ 84% ████████▌ | |
| tests/results/SourcePositionTest.py ✓✓✓ 85% ████████▌ | |
| tests/results/SourceRangeTest.py ✓✓✓✓✓✓✓✓✓ 87% ████████▋ | |
| tests/results/TextPositionTest.py ✓✓ 87% ████████▊ | |
| tests/results/TextRangeTest.py ✓✓✓✓✓✓✓✓✓✓ 89% ████████▉ | |
| tests/results/result_actions/ApplyPatchActionTest.py ✓✓✓✓✓✓ 90% █████████ | |
| tests/results/result_actions/OpenEditorActionTest.py ✓✓✓ 91% █████████▏ | |
| tests/results/result_actions/PrintDebugMessageActionTest.py ✓✓ 91% █████████▎ | |
| tests/results/result_actions/ResultActionTest.py ✓ 92% █████████▎ | |
| tests/results/result_actions/ShowPatchActionTest.py ✓✓✓ 92% █████████▎ | |
| tests/settings/ConfigurationGatheringTest.py ✓✓✓✓✓✓✓✓✓✓✓ 94% █████████▌ | |
| tests/settings/DocumentationCommentTest.py ✓✓ 95% █████████▌ | |
| tests/settings/FunctionMetadataTest.py ✓✓✓✓ 96% █████████▋ | |
| tests/settings/SectionFillingTest.py ✓✓ 96% █████████▋ | |
| tests/settings/SectionTest.py ✓✓✓✓✓✓✓✓✓✓✓✓ 99% █████████▉ | |
| tests/settings/SettingTest.py ✓✓✓✓✓✓✓ 100% ██████████ | |
| ======================================== short test summary info ======================================== | |
| SKIP [21] /usr/lib/python3.4/site-packages/_pytest/doctest.py:165: all tests skipped by +SKIP option | |
| Results (13.09s): | |
| 463 passed | |
| 1 failed | |
| - /home/mak/dev/coala/tests/output/dbus/DbusTest.py:107: IndexError: list index out of range | |
| 21 skipped | |
| mak@localhost:~/dev/coala (master) +1 ~0 -0 $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment