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 4.62 KB | None | 0 0
  1. bash-4.4# npm list -g dockerfile_lint
  2. /usr/local/lib
  3. └── dockerfile_lint@0.3.1
  4.  
  5. bash-4.4# py.test -k Docker
  6. =============================== test session starts ===============================
  7. platform linux -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
  8. rootdir: /app/coala-bears, inifile: setup.cfg
  9. plugins: xdist-1.16.0, timeout-1.2.0, mock-1.6.0, env-0.6.0, cov-2.4.0
  10. timeout: 35.0s method: signal
  11. collected 798 items
  12.  
  13. tests/configfiles/DockerfileLintBearTest.py .F....
  14.  
  15. ==================================== FAILURES =====================================
  16. _____________________ DockerfileLintBearTest.test_valid_files _____________________
  17.  
  18. self = <coalib.testing.LocalBearTestHelper.verify_local_bear.<locals>.LocalBearTest testMethod=test_valid_files>
  19.  
  20. def test_valid_files(self):
  21. self.assertIsInstance(valid_files, (list, tuple))
  22. for file in valid_files:
  23. self.check_validity(self.uut,
  24. file.splitlines(keepends=True),
  25. filename,
  26. valid=True,
  27. force_linebreaks=force_linebreaks,
  28. create_tempfile=create_tempfile,
  29. > tempfile_kwargs=tempfile_kwargs)
  30.  
  31. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:365:
  32. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:165: in check_validity
  34. settings=settings,
  35. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:266: in check_results
  36. self.assertComparableObjectsEqual(bear_output, results)
  37. /usr/lib/python3.6/site-packages/coala-0.12.0.dev99999999999999-py3.6.egg/coalib/testing/LocalBearTestHelper.py:134: in assertComparableObjectsEqual
  38. self.assertEqual(observed_result, expected_result)
  39. E AssertionError: Lists differ: [<Result object(id=0x14239a4ac3ec460fa9f3e[417 chars]7b8>] != []
  40. E
  41. E First list contains 1 additional elements.
  42. E First extra element 0:
  43. E <Result object(id=0x14239a4ac3ec460fa9f3efb87909caff, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmp02vprv8j', line=3, column=None) at 0x7efd55c5c438>, end=<SourcePosition object(file='/tmp/tmp02vprv8j', line=3, column=None) at 0x7efd55c5cba8>) at 0x7efd55c5c470>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7efd55c5c7b8>
  44. E
  45. E - [<Result object(id=0x14239a4ac3ec460fa9f3efb87909caff, origin='DockerfileLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='/tmp/tmp02vprv8j', line=3, column=None) at 0x7efd55c5c438>, end=<SourcePosition object(file='/tmp/tmp02vprv8j', line=3, column=None) at 0x7efd55c5cba8>) at 0x7efd55c5c470>,), severity=INFO, confidence=100, message='the MAINTAINER command is deprecated', aspect=NoneType, applied_actions={}) at 0x7efd55c5c7b8>]
  46. E + []
  47. ============================= pytest-warning summary ==============================
  48. WC1 /app/coala-bears/tests/natural_language/LanguageToolBearTest.py cannot collect test class 'SkipTest' because it has a __init__ constructor
  49. ============================== 792 tests deselected ===============================
  50. ===== 1 failed, 5 passed, 792 deselected, 1 pytest-warnings in 18.76 seconds ======
  51. bash-4.4# npm install -g dockerfile_lint@0.2.7
  52. /usr/local/bin/dockerfile_lint -> /usr/local/lib/node_modules/dockerfile_lint/bin/dockerfile_lint
  53. /usr/local/lib
  54. └── dockerfile_lint@0.2.7
  55.  
  56. bash-4.4# npm list -g dockerfile_lint
  57. /usr/local/lib
  58. └── dockerfile_lint@0.2.7
  59.  
  60. bash-4.4# py.test -k Docker
  61. =============================== test session starts ===============================
  62. platform linux -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
  63. rootdir: /app/coala-bears, inifile: setup.cfg
  64. plugins: xdist-1.16.0, timeout-1.2.0, mock-1.6.0, env-0.6.0, cov-2.4.0
  65. timeout: 35.0s method: signal
  66. collected 798 items
  67.  
  68. tests/configfiles/DockerfileLintBearTest.py ......
  69.  
  70. ============================= pytest-warning summary ==============================
  71. WC1 /app/coala-bears/tests/natural_language/LanguageToolBearTest.py cannot collect test class 'SkipTest' because it has a __init__ constructor
  72. ============================== 792 tests deselected ===============================
  73. ========== 6 passed, 792 deselected, 1 pytest-warnings in 18.73 seconds ===========
  74. bash-4.4#
Add Comment
Please, Sign In to add comment