Guest User

Untitled

a guest
Nov 12th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.03 KB | None | 0 0
  1. Testing started at 21:30 ...
  2. C:\devel\IronPython-2.7.5\IronPython-2.7.5\ipy.exe "C:\Program Files\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pycharm\_jb_pytest_runner.py" --target test_something.py::test_add_group
  3. Launching pytest with arguments test_something.py::test_add_group in C:\devel\ironpython_training\test
  4.  
  5. ============================= test session starts ==============================
  6. platform cli -- Python 2.7.5 -- py-1.4.26 -- pytest-2.7.0
  7. rootdir: C:\devel\ironpython_training, inifile: pytest.ini
  8. <string>:1: DeprecationWarning: object.__new__() takes no parameters
  9. collected 3 items
  10. test_something.py [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableVerticalScrollBar=Vertical Scroll Bar for White/UIItemId
  11. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableHorizontalScrollBar=Horizontal Scroll Bar for White/UIItemId
  12. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableColumn=Row for White/UIItemId
  13. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableTopLeftHeaderCell=Top Left Header Cell for White/UIItemId
  14. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableCellNullValue=(null) for White/UIItemId
  15. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableHeader=Top Row for White/UIItemId
  16. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using HorizontalScrollBar=Horizontal ScrollBar for White/UIItemId
  17. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using VerticalScrollBar=Vertical ScrollBar for White/UIItemId
  18. [Info - 21:31:02] 'TestStack.White.Configuration.UIItemIdAppXmlConfiguration' Using TableCellPrefix= Row for White/UIItemId
  19. F
  20. test\test_something.py:11 (test_add_group)
  21. def __init__(self, func):
  22. try:
  23. > self.result = func()
  24.  
  25. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\core.py:123:
  26. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  27.  
  28. def execute(self):
  29. all_kwargs = self.kwargs
  30. while self.methods:
  31. method = self.methods.pop()
  32. args = [all_kwargs[argname] for argname in varnames(method)]
  33. if hasattr(method, "hookwrapper"):
  34. return wrapped_call(method(*args), self.execute)
  35. > res = method(*args)
  36. E AssertionError
  37.  
  38. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\core.py:394: AssertionError
  39. E
  40. test\test_something.py:11 (test_add_group)
  41. def _callfinalizers(self, colitem):
  42. finalizers = self._finalizers.pop(colitem, None)
  43. exc = None
  44. while finalizers:
  45. fin = finalizers.pop()
  46. try:
  47. > fin()
  48.  
  49. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\runner.py:356:
  50. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  51.  
  52. def finish(self):
  53. try:
  54. while self._finalizer:
  55. func = self._finalizer.pop()
  56. > func()
  57. E TypeError: destroy() takes exactly 2 arguments (1 given)
  58.  
  59. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\python.py:1856: TypeError
  60.  
  61.  
  62. ==================================== ERRORS ====================================
  63. _____________________ ERROR at teardown of test_add_group ______________________
  64.  
  65. def _callfinalizers(self, colitem):
  66. finalizers = self._finalizers.pop(colitem, None)
  67. exc = None
  68. while finalizers:
  69. fin = finalizers.pop()
  70. try:
  71. > fin()
  72.  
  73. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\runner.py:356:
  74. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  75.  
  76. def finish(self):
  77. try:
  78. while self._finalizer:
  79. func = self._finalizer.pop()
  80. > func()
  81. E TypeError: destroy() takes exactly 2 arguments (1 given)
  82.  
  83. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\python.py:1856: TypeError
  84. =================================== FAILURES ===================================
  85. ________________________________ test_add_group ________________________________
  86.  
  87. def __init__(self, func):
  88. try:
  89. > self.result = func()
  90.  
  91. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\core.py:123:
  92. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  93.  
  94. def execute(self):
  95. all_kwargs = self.kwargs
  96. while self.methods:
  97. method = self.methods.pop()
  98. args = [all_kwargs[argname] for argname in varnames(method)]
  99. if hasattr(method, "hookwrapper"):
  100. return wrapped_call(method(*args), self.execute)
  101. > res = method(*args)
  102. E AssertionError
  103.  
  104. ..\..\IronPython-2.7.5\IronPython-2.7.5\lib\site-packages\_pytest\core.py:394: AssertionError
  105. ====================== 1 failed, 1 error in 7.87 seconds =======================
  106. Process finished with exit code 0
Add Comment
Please, Sign In to add comment