Skip to content

Commit

Permalink
more resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Mar 18, 2024
1 parent 30455ee commit b49e06e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions InvenTree/part/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ def test_param_unit_validation(self):
# Invalid units also pass, but will be converted to the template units
for value in bad_values:
param = PartParameter(part=prt, template=template, data=value)
with self.assertRaises(django_exceptions.ValidationError):
param.full_clean()
param.full_clean()

# Enable enforcing of part parameter units
InvenTreeSetting.set_setting(
Expand Down

0 comments on commit b49e06e

Please sign in to comment.