From ea039645c300155f874e888f8b9ffb699a68f95f Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 14 Aug 2023 16:39:00 +1000 Subject: [PATCH] Update unit tests (#5446) - Remove failing test which no longer applies --- InvenTree/part/test_param.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/InvenTree/part/test_param.py b/InvenTree/part/test_param.py index 63a3b4f8d2..f51b97e249 100644 --- a/InvenTree/part/test_param.py +++ b/InvenTree/part/test_param.py @@ -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"""