Skip to content

Commit

Permalink
[17.0][MIG]pim
Browse files Browse the repository at this point in the history
  • Loading branch information
onurugur committed Jun 14, 2024
1 parent 0b33399 commit f216c3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions attribute_set/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from . import models, utils, wizard
from . import tests
4 changes: 2 additions & 2 deletions attribute_set/tests/test_build_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def test_write_attribute_values_select(self):
def _check_attrset_visiblility(self, attrs, set_ids):
attrs = ast.literal_eval(attrs)
self.assertIn("invisible", attrs)
domain = attrs["invisible"][0]
domain = attrs
self.assertEqual("attribute_set_id", domain[0])
self.assertEqual("not in", domain[1])
self.assertEqual(
Expand All @@ -191,7 +191,7 @@ def _check_attrset_visiblility(self, attrs, set_ids):
def _check_attrset_required(self, attrs, set_ids):
attrs = ast.literal_eval(attrs)
self.assertIn("required", attrs)
domain = attrs["required"][0]
domain = attrs
self.assertEqual("attribute_set_id", domain[0])
self.assertEqual("in", domain[1])
self.assertEqual(
Expand Down

0 comments on commit f216c3a

Please sign in to comment.