Advertisement
Guest User

Untitled

a guest
Nov 26th, 2021
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.77 KB | None | 0 0
  1. ╰─ python -m trytond.tests.run-tests -m purchase_blanket_order
  2. /home/mrichez/Workspace/tryton/issues/.venv/trytond/lib/python3.9/site-packages/zeep/loader.py:5: DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release.
  3. from defusedxml.lxml import fromstring
  4. /home/mrichez/Workspace/tryton/issues/.venv/trytond/lib/python3.9/site-packages/csb43/i18n/__init__.py:44: DeprecationWarning: bind_textdomain_codeset() is deprecated
  5. gettext.bind_textdomain_codeset(DOMAIN_NAME, "UTF-8")
  6. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:345: UserWarning: Unable to remove not null with SQLite backend
  7. warnings.warn('Unable to remove not null with SQLite backend')
  8. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:281: UserWarning: Unable to drop foreign key with SQLite backend
  9. warnings.warn('Unable to drop foreign key with SQLite backend')
  10. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:350: UserWarning: Unable to add constraint with SQLite backend
  11. warnings.warn('Unable to add constraint with SQLite backend')
  12. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:206: UserWarning: Unable to set default on column with SQLite backend
  13. warnings.warn('Unable to set default on column with SQLite backend')
  14. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:343: UserWarning: Unable to set not null with SQLite backend
  15. warnings.warn('Unable to set not null with SQLite backend')
  16. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:278: UserWarning: Unable to add foreign key with SQLite backend
  17. warnings.warn('Unable to add foreign key with SQLite backend')
  18. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:353: UserWarning: Unable to drop constraint with SQLite backend
  19. warnings.warn('Unable to drop constraint with SQLite backend')
  20. /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/backend/sqlite/table.py:313: UserWarning: Unable to create index with parameters
  21. warnings.warn('Unable to create index with parameters')
  22. ======================================================================
  23. FAIL: /home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/modules/purchase_blanket_order/tests/scenario_purchase_blanket_order.rst
  24. Doctest: scenario_purchase_blanket_order.rst
  25. ----------------------------------------------------------------------
  26. Traceback (most recent call last):
  27. File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
  28. raise self.failureException(self.format_failure(new.getvalue()))
  29. AssertionError: Failed doctest test for scenario_purchase_blanket_order.rst
  30. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/modules/purchase_blanket_order/tests/scenario_purchase_blanket_order.rst", line 0
  31.  
  32. ----------------------------------------------------------------------
  33. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/modules/purchase_blanket_order/tests/scenario_purchase_blanket_order.rst", line 89, in scenario_purchase_blanket_order.rst
  34. Failed example:
  35. create_purchase = Wizard(
  36. 'purchase.blanket_order.create_purchase', [blanket_order])
  37. Exception raised:
  38. Traceback (most recent call last):
  39. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/model/model.py", line 368, in _getitem
  40. return getattr(self, field)
  41. AttributeError: 'purchase.blanket_order.line.to.purchase.line._reco' object has no attribute 'items'
  42.  
  43. During handling of the above exception, another exception occurred:
  44.  
  45. Traceback (most recent call last):
  46. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/model/model.py", line 291, in __getattr__
  47. return self._values[name]
  48. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/model/model.py", line 370, in _getitem
  49. raise KeyError(field)
  50. KeyError: 'items'
  51.  
  52. During handling of the above exception, another exception occurred:
  53.  
  54. Traceback (most recent call last):
  55. File "/usr/lib/python3.9/doctest.py", line 1336, in __run
  56. exec(compile(example.source, filename, "single",
  57. File "<doctest scenario_purchase_blanket_order.rst[54]>", line 1, in <module>
  58. create_purchase = Wizard(
  59. File "/home/mrichez/Workspace/tryton/issues/tryton_63/proteus/proteus/__init__.py", line 1201, in __init__
  60. self.execute(self.start_state)
  61. File "/home/mrichez/Workspace/tryton/issues/tryton_63/proteus/proteus/__init__.py", line 1234, in execute
  62. self.form._default_set(view['defaults'])
  63. File "/home/mrichez/Workspace/tryton/issues/tryton_63/proteus/proteus/__init__.py", line 984, in _default_set
  64. record._default_set(vals)
  65. File "/home/mrichez/Workspace/tryton/issues/tryton_63/proteus/proteus/__init__.py", line 971, in _default_set
  66. for field, value in values.items():
  67. File "/home/mrichez/Workspace/tryton/issues/issue_10_sale_blanket_order/trytond/trytond/model/model.py", line 293, in __getattr__
  68. raise AttributeError("'%s' Model has no attribute '%s': %s"
  69. AttributeError: 'purchase.blanket_order.line.to.purchase.line' Model has no attribute 'items': <trytond.model.model.purchase.blanket_order.line.to.purchase.line._record object at 0x7fa2ae0107c0>
  70.  
  71.  
  72. ----------------------------------------------------------------------
  73. Ran 23 tests in 80.504s
  74.  
  75.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement