Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-4.4# git branch
- * master
- nvzard/2180
- nvzard/2302
- nvzard/2313
- nvzard/2319
- bash-4.4# git status
- On branch master
- Your branch is up-to-date with 'origin/master'.
- nothing to commit, working tree clean
- bash-4.4# npm install -g dockerfile_lint@0.2.7
- /usr/local/bin/dockerfile_lint -> /usr/local/lib/node_modules/dockerfile_lint/bin/dockerfile_lint
- /usr/local/lib
- └── dockerfile_lint@0.2.7
- bash-4.4# npm list -g dockerfile_lint
- /usr/local/lib
- └── dockerfile_lint@0.2.7
- 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 ......
- ============================= 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 ===============================
- ========== 6 passed, 792 deselected, 1 pytest-warnings in 19.50 seconds ===========
- bash-4.4# npm install -g dockerfile_lint
- /usr/local/bin/dockerfile_lint -> /usr/local/lib/node_modules/dockerfile_lint/bin/dockerfile_lint
- /usr/local/lib
- └── dockerfile_lint@0.3.1
- bash-4.4# npm list -g dockerfile_lint
- /usr/local/lib
- └── dockerfile_lint@0.3.1
- 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=0x7a59ae17e5d14e5b8fd06[417 chars]e10>] != []
- E
- E First list contains 1 additional elements.
- E First extra element 0:
- E <Result object(id=0x7a59ae17e5d14e5b8fd06a7e0773b660, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmp210m39am', line=3, column=None) at 0x7f102a171198>, end=<SourcePosition object(file='/tmp/tmp210m39am', line=3, column=None) at 0x7f102a171c50>) at 0x7f102a171d68>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7f102a171e10>
- E
- E - [<Result object(id=0x7a59ae17e5d14e5b8fd06a7e0773b660, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmp210m39am', line=3, column=None) at 0x7f102a171198>, end=<SourcePosition object(file='/tmp/tmp210m39am', line=3, column=None) at 0x7f102a171c50>) at 0x7f102a171d68>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7f102a171e10>]
- 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 19.49 seconds ======
- bash-4.4#
Add Comment
Please, Sign In to add comment