Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-4.4# pwd
- /app/coala-bears
- bash-4.4# npm list -g dockerfile_lint
- /usr/local/lib
- └── dockerfile_lint@0.3.1
- bash-4.4# git branch
- master
- nvzard/2180
- * nvzard/2302
- nvzard/2313
- bash-4.4# py.test -k Docker
- =============================== test session starts ===============================
- platform linux -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
- rootdir: /app/coala-bears, inifile: setup.cfg
- plugins: xdist-1.16.0, timeout-1.2.0, mock-1.6.0, env-0.6.0, cov-2.4.0
- timeout: 35.0s method: signal
- collected 798 items
- tests/configfiles/DockerfileLintBearTest.py .F....
- ==================================== FAILURES =====================================
- _____________________ DockerfileLintBearTest.test_valid_files _____________________
- self = <coalib.testing.LocalBearTestHelper.verify_local_bear.<locals>.LocalBearTest testMethod=test_valid_files>
- def test_valid_files(self):
- self.assertIsInstance(valid_files, (list, tuple))
- for file in valid_files:
- self.check_validity(self.uut,
- file.splitlines(keepends=True),
- filename,
- valid=True,
- force_linebreaks=force_linebreaks,
- create_tempfile=create_tempfile,
- > tempfile_kwargs=tempfile_kwargs)
- /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:365:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:165: in check_validity
- settings=settings,
- /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:266: in check_results
- self.assertComparableObjectsEqual(bear_output, results)
- /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:134: in assertComparableObjectsEqual
- self.assertEqual(observed_result, expected_result)
- E AssertionError: Lists differ: [<Result object(id=0xc78e9d637fc94fb594385[417 chars]828>] != []
- E
- E First list contains 1 additional elements.
- E First extra element 0:
- E <Result object(id=0xc78e9d637fc94fb5943852379888497b, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmpcljleru9', line=3, column=None) at 0x7ff31e2d04e0>, end=<SourcePosition object(file='/tmp/tmpcljleru9', line=3, column=None) at 0x7ff31e2d0b70>) at 0x7ff31e2d0470>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7ff31e2d0828>
- E
- E - [<Result object(id=0xc78e9d637fc94fb5943852379888497b, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmpcljleru9', line=3, column=None) at 0x7ff31e2d04e0>, end=<SourcePosition object(file='/tmp/tmpcljleru9', line=3, column=None) at 0x7ff31e2d0b70>) at 0x7ff31e2d0470>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7ff31e2d0828>]
- E + []
- ============================= pytest-warning summary ==============================
- WC1 /app/coala-bears/tests/natural_language/LanguageToolBearTest.py cannot collect test class 'SkipTest' because it has a __init__ constructor
- ============================== 792 tests deselected ===============================
- ===== 1 failed, 5 passed, 792 deselected, 1 pytest-warnings in 52.02 seconds ======
- bash-4.4#
Add Comment
Please, Sign In to add comment