Guest User

Untitled

a guest
Mar 9th, 2018
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. bash-4.4# pwd
  2. /app/coala-bears
  3. bash-4.4# npm list -g dockerfile_lint
  4. /usr/local/lib
  5. └── dockerfile_lint@0.3.1
  6.  
  7. bash-4.4# git branch
  8. master
  9. nvzard/2180
  10. * nvzard/2302
  11. nvzard/2313
  12. bash-4.4# py.test -k Docker
  13. =============================== test session starts ===============================
  14. platform linux -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
  15. rootdir: /app/coala-bears, inifile: setup.cfg
  16. plugins: xdist-1.16.0, timeout-1.2.0, mock-1.6.0, env-0.6.0, cov-2.4.0
  17. timeout: 35.0s method: signal
  18. collected 798 items
  19.  
  20. tests/configfiles/DockerfileLintBearTest.py .F....
  21.  
  22. ==================================== FAILURES =====================================
  23. _____________________ DockerfileLintBearTest.test_valid_files _____________________
  24.  
  25. self = <coalib.testing.LocalBearTestHelper.verify_local_bear.<locals>.LocalBearTest testMethod=test_valid_files>
  26.  
  27. def test_valid_files(self):
  28. self.assertIsInstance(valid_files, (list, tuple))
  29. for file in valid_files:
  30. self.check_validity(self.uut,
  31. file.splitlines(keepends=True),
  32. filename,
  33. valid=True,
  34. force_linebreaks=force_linebreaks,
  35. create_tempfile=create_tempfile,
  36. > tempfile_kwargs=tempfile_kwargs)
  37.  
  38. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:365:
  39. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  40. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:165: in check_validity
  41. settings=settings,
  42. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:266: in check_results
  43. self.assertComparableObjectsEqual(bear_output, results)
  44. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:134: in assertComparableObjectsEqual
  45. self.assertEqual(observed_result, expected_result)
  46. E AssertionError: Lists differ: [<Result object(id=0xc78e9d637fc94fb594385[417 chars]828>] != []
  47. E
  48. E First list contains 1 additional elements.
  49. E First extra element 0:
  50. 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>
  51. E
  52. 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>]
  53. E + []
  54. ============================= pytest-warning summary ==============================
  55. WC1 /app/coala-bears/tests/natural_language/LanguageToolBearTest.py cannot collect test class 'SkipTest' because it has a __init__ constructor
  56. ============================== 792 tests deselected ===============================
  57. ===== 1 failed, 5 passed, 792 deselected, 1 pytest-warnings in 52.02 seconds ======
  58. bash-4.4#
Add Comment
Please, Sign In to add comment