Created
March 11, 2017 08:02
-
-
Save RJ722/f3e852563d34c8ab1204e22d2359f0f3 to your computer and use it in GitHub Desktop.
This file contains 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
===================================================================================== test session starts ====================================================================================== | |
platform linux -- Python 3.5.2, pytest-3.0.6, py-1.4.32, pluggy-0.4.0 | |
rootdir: /home/im_ishan/Desktop/Rahul/coala, inifile: setup.cfg | |
plugins: xdist-1.15.0, timeout-1.2.0, mock-1.5.0, env-0.6.0, cov-2.4.0 | |
timeout: 35.0s method: signal | |
collected 613 items | |
coalib/bearlib/__init__.py .. | |
coalib/bearlib/abstractions/Linter.py . | |
coalib/bearlib/aspects/__init__.py . | |
coalib/bearlib/aspects/docs.py . | |
coalib/bearlib/aspects/taste.py .. | |
coalib/bearlib/languages/Language.py ..... | |
coalib/bearlib/languages/LanguageDefinition.py . | |
coalib/bearlib/languages/documentation/DocumentationComment.py . | |
coalib/bearlib/naming_conventions/__init__.py ..... | |
coalib/bears/Bear.py ... | |
coalib/collecting/Importers.py . | |
coalib/core/Bear.py .... | |
coalib/misc/Caching.py . | |
coalib/misc/CachingUtilities.py . | |
coalib/misc/Shell.py .. | |
coalib/parsing/Globbing.py . | |
coalib/results/AbsolutePosition.py . | |
coalib/results/Diff.py ....... | |
coalib/results/Result.py . | |
coalib/results/SourceRange.py . | |
coalib/results/result_actions/IgnoreResultAction.py . | |
coalib/settings/Annotations.py . | |
coalib/settings/ConfigurationGathering.py . | |
coalib/settings/FunctionMetadata.py .. | |
coalib/settings/Section.py ... | |
tests/coalaCITest.py ...... | |
tests/coalaDeleteOrigTest.py ... | |
tests/coalaFormatTest.py .. | |
tests/coalaJSONTest.py .......... | |
tests/coalaTest.py ........... | |
tests/bearlib/abstractions/LinterTest.py ......................... | |
tests/bearlib/abstractions/SectionCreatableTest.py ... | |
tests/bearlib/abstractions/external_bear_wrap_testfiles/ExternalBearWrapTest.py ......... | |
tests/bearlib/aspects/BaseTest.py .. | |
tests/bearlib/aspects/ClassTest.py ... | |
tests/bearlib/aspects/InstanceTest.py FF | |
tests/bearlib/aspects/RootTest.py ...... | |
tests/bearlib/aspects/SubTest.py ....... | |
tests/bearlib/aspects/TasteTest.py .... | |
tests/bearlib/languages/LanguageDefinitionTest.py . | |
tests/bearlib/languages/LanguageTest.py ... | |
tests/bearlib/languages/documentation/DocstyleDefinitionTest.py ..... | |
tests/bearlib/languages/documentation/DocumentationCommentTest.py ............ | |
tests/bearlib/languages/documentation/DocumentationExtractionTest.py ........ | |
tests/bearlib/spacing/SpacingHelperTest.py ..... | |
tests/bears/BearTest.py ...............Traceback (most recent call last): | |
. | |
tests/bears/GlobalBearTest.py .. | |
tests/bears/LocalBearTest.py .. | |
tests/collecting/CollectorsTest.py ....................... | |
tests/collecting/DependenciesTest.py ... | |
tests/collecting/ImportersTest.py ........ | |
tests/core/BearTest.py ............. | |
tests/misc/BuildManPageTest.py .......... | |
tests/misc/CachingTest.py ....... | |
tests/misc/CachingUtilitiesTest.py ....... | |
tests/misc/ContextManagersTest.py ........ | |
tests/misc/DictUtilitiesTest.py .. | |
tests/misc/EnumTest.py .. | |
tests/misc/ExceptionsTest.py . | |
tests/misc/ShellTest.py ...... | |
tests/output/ConfWriterTest.py .... | |
tests/output/ConsoleInteractionTest.py ................................. | |
tests/output/InteractionsTest.py . | |
tests/output/JSONEncoderTest.py ........... | |
tests/output/LoggingTest.py . | |
tests/output/printers/ListLogPrinterTest.py . | |
tests/output/printers/LogPrinterTest.py ........ | |
tests/parsing/CliParsingTest.py .. | |
tests/parsing/ConfParserTest.py ........ | |
tests/parsing/DefaultArgParserTest.py .. | |
tests/parsing/GlobbingTest.py ................................. | |
tests/parsing/LineParserTest.py ......... | |
tests/processes/BearRunningTest.py ...... | |
tests/processes/LogPrinterThreadTest.py . | |
tests/processes/ProcessingTest.py ...................... | |
tests/processes/communication/LogMessageTest.py .... | |
tests/results/AbsolutePositionTest.py ...... | |
tests/results/DiffTest.py .............s...... | |
tests/results/EnsureFilesPresentTest.py ...... | |
tests/results/HiddenResultTest.py . | |
tests/results/LineDiffTest.py .. | |
tests/results/RESULT_SEVERITYTest.py . | |
tests/results/ResultFilterTest.py .......... | |
tests/results/ResultTest.py .......... | |
tests/results/SourcePositionTest.py ... | |
tests/results/SourceRangeTest.py ............. | |
tests/results/TextPositionTest.py ... | |
tests/results/TextRangeTest.py ........... | |
tests/results/result_actions/ApplyPatchActionTest.py ........ | |
tests/results/result_actions/IgnoreResultActionTest.py ... | |
tests/results/result_actions/OpenEditorActionTest.py ........... | |
tests/results/result_actions/PrintAspectActionTest.py .. | |
tests/results/result_actions/PrintDebugMessageActionTest.py .. | |
tests/results/result_actions/PrintMoreInfoActionTest.py .. | |
tests/results/result_actions/ResultActionTest.py . | |
tests/results/result_actions/ShowPatchActionTest.py ...... | |
tests/settings/AnnotationsTest.py ...... | |
tests/settings/ConfigurationGatheringTest.py ............ | |
tests/settings/DocstringMetadataTest.py ... | |
tests/settings/FunctionMetadataTest.py ...... | |
tests/settings/SectionFillingTest.py ... | |
tests/settings/SectionTest.py ............. | |
tests/settings/SettingTest.py ........... | |
tests/testing/LocalBearTestHelperTest.py .....Coverage.py warning: Module tests/bearlib/aspects/InstanceTest.py was never imported. | |
Coverage.py warning: No data was collected. | |
=================================================================================== short test summary info ==================================================================================== | |
FAIL tests/bearlib/aspects/InstanceTest.py::AspectInstanceTest::test__setattr__ | |
FAIL tests/bearlib/aspects/InstanceTest.py::AspectInstanceTest::test_tastes | |
SKIP [1] tests/results/DiffTest.py:208: /home/im_ishan/Envs/coala_venv/bin/python3: undefined symbol: clang_annotateTokens. Please ensure that your python bindings are compatible with your libclang.so version. | |
=========================================================================================== FAILURES =========================================================================================== | |
______________________________________________________________________________ AspectInstanceTest.test__setattr__ ______________________________________________________________________________ | |
self = <unittest.case._Outcome object at 0x7f6fedd66908>, test_case = <tests.bearlib.aspects.InstanceTest.AspectInstanceTest testMethod=test__setattr__>, isTest = True | |
@contextlib.contextmanager | |
def testPartExecutor(self, test_case, isTest=False): | |
old_success = self.success | |
self.success = True | |
try: | |
> yield | |
/usr/lib/python3.5/unittest/case.py:58: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.bearlib.aspects.InstanceTest.AspectInstanceTest testMethod=test__setattr__>, result = <TestCaseFunction 'test__setattr__'> | |
def run(self, result=None): | |
orig_result = result | |
if result is None: | |
result = self.defaultTestResult() | |
startTestRun = getattr(result, 'startTestRun', None) | |
if startTestRun is not None: | |
startTestRun() | |
result.startTest(self) | |
testMethod = getattr(self, self._testMethodName) | |
if (getattr(self.__class__, "__unittest_skip__", False) or | |
getattr(testMethod, "__unittest_skip__", False)): | |
# If the class or method was skipped. | |
try: | |
skip_why = (getattr(self.__class__, '__unittest_skip_why__', '') | |
or getattr(testMethod, '__unittest_skip_why__', '')) | |
self._addSkip(result, self, skip_why) | |
finally: | |
result.stopTest(self) | |
return | |
expecting_failure_method = getattr(testMethod, | |
"__unittest_expecting_failure__", False) | |
expecting_failure_class = getattr(self, | |
"__unittest_expecting_failure__", False) | |
expecting_failure = expecting_failure_class or expecting_failure_method | |
outcome = _Outcome(result) | |
try: | |
self._outcome = outcome | |
with outcome.testPartExecutor(self): | |
self.setUp() | |
if outcome.success: | |
outcome.expecting_failure = expecting_failure | |
with outcome.testPartExecutor(self, isTest=True): | |
> testMethod() | |
E TypeError: test__setattr__() missing 2 required positional arguments: 'SubAspect' and 'SubAspect_tastes' | |
/usr/lib/python3.5/unittest/case.py:600: TypeError | |
________________________________________________________________________________ AspectInstanceTest.test_tastes ________________________________________________________________________________ | |
self = <unittest.case._Outcome object at 0x7f6fedd667f0>, test_case = <tests.bearlib.aspects.InstanceTest.AspectInstanceTest testMethod=test_tastes>, isTest = True | |
@contextlib.contextmanager | |
def testPartExecutor(self, test_case, isTest=False): | |
old_success = self.success | |
self.success = True | |
try: | |
> yield | |
/usr/lib/python3.5/unittest/case.py:58: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <tests.bearlib.aspects.InstanceTest.AspectInstanceTest testMethod=test_tastes>, result = <TestCaseFunction 'test_tastes'> | |
def run(self, result=None): | |
orig_result = result | |
if result is None: | |
result = self.defaultTestResult() | |
startTestRun = getattr(result, 'startTestRun', None) | |
if startTestRun is not None: | |
startTestRun() | |
result.startTest(self) | |
testMethod = getattr(self, self._testMethodName) | |
if (getattr(self.__class__, "__unittest_skip__", False) or | |
getattr(testMethod, "__unittest_skip__", False)): | |
# If the class or method was skipped. | |
try: | |
skip_why = (getattr(self.__class__, '__unittest_skip_why__', '') | |
or getattr(testMethod, '__unittest_skip_why__', '')) | |
self._addSkip(result, self, skip_why) | |
finally: | |
result.stopTest(self) | |
return | |
expecting_failure_method = getattr(testMethod, | |
"__unittest_expecting_failure__", False) | |
expecting_failure_class = getattr(self, | |
"__unittest_expecting_failure__", False) | |
expecting_failure = expecting_failure_class or expecting_failure_method | |
outcome = _Outcome(result) | |
try: | |
self._outcome = outcome | |
with outcome.testPartExecutor(self): | |
self.setUp() | |
if outcome.success: | |
outcome.expecting_failure = expecting_failure | |
with outcome.testPartExecutor(self, isTest=True): | |
> testMethod() | |
E TypeError: test_tastes() missing 3 required positional arguments: 'SubAspect', 'SubAspect_tastes', and 'SubAspect_taste_values' | |
/usr/lib/python3.5/unittest/case.py:600: TypeError | |
==================================================================================== pytest-warning summary ==================================================================================== | |
WC1 /home/im_ishan/Desktop/Rahul/coala/tests/results/DiffTest.py cannot collect test class 'SkipTest' because it has a __init__ constructor | |
============================================================= 2 failed, 610 passed, 1 skipped, 1 pytest-warnings in 65.72 seconds ============================================================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment