mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Update unit tests (#5446)
- Remove failing test which no longer applies
This commit is contained in:
parent
b5c7cf0779
commit
ea039645c3
@ -168,12 +168,6 @@ class ParameterTests(TestCase):
|
||||
param = PartParameter(part=prt, template=template, data=value)
|
||||
param.full_clean()
|
||||
|
||||
# Test that invalid parameters fail
|
||||
for value in ['3 Amps', '-3 zogs', '3.14F']:
|
||||
param = PartParameter(part=prt, template=template, data=value)
|
||||
with self.assertRaises(django_exceptions.ValidationError):
|
||||
param.full_clean()
|
||||
|
||||
def test_param_unit_conversion(self):
|
||||
"""Test that parameters are correctly converted to template units"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user