Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Item group test cases #4555

Merged
merged 1 commit into from Nov 30, 2017
Merged

Conversation

rohitwaghchaure
Copy link
Contributor

@rohitwaghchaure rohitwaghchaure commented Nov 30, 2017

Issue

ERROR: test_merge_leaves (erpnext.setup.doctype.item_group.test_item_group.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rohitwaghchaure/Documents/erpnext/frappe-bench/apps/erpnext/erpnext/setup/doctype/item_group/test_item_group.py", line 195, in test_merge_leaves
    self.test_basic_tree(records=records_to_test)
  File "/Users/rohitwaghchaure/Documents/erpnext/frappe-bench/apps/erpnext/erpnext/setup/doctype/item_group/test_item_group.py", line 22, in test_basic_tree
    ["lft", "rgt", "parent_item_group"])
TypeError: 'NoneType' object is not iterable

======================================================================
ERROR: test_move_group_into_another (erpnext.setup.doctype.item_group.test_item_group.TestItem)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rohitwaghchaure/Documents/erpnext/frappe-bench/apps/erpnext/erpnext/setup/doctype/item_group/test_item_group.py", line 90, in test_move_group_into_another
    self.test_basic_tree()
  File "/Users/rohitwaghchaure/Documents/erpnext/frappe-bench/apps/erpnext/erpnext/setup/doctype/item_group/test_item_group.py", line 22, in test_basic_tree
    ["lft", "rgt", "parent_item_group"])
TypeError: 'NoneType' object is not iterable

@nabinhait nabinhait merged commit ef7c6c3 into frappe:develop Nov 30, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants