From 4789a202eeba55c9870b69caf9b91b6cbbf3f767 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 17 Mar 2026 22:40:11 +1100 Subject: [PATCH] Disable broken unit test (#11549) --- .../plugin/samples/supplier/test_supplier_sample.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/backend/InvenTree/plugin/samples/supplier/test_supplier_sample.py b/src/backend/InvenTree/plugin/samples/supplier/test_supplier_sample.py index a8772a0707..10f10bbb68 100644 --- a/src/backend/InvenTree/plugin/samples/supplier/test_supplier_sample.py +++ b/src/backend/InvenTree/plugin/samples/supplier/test_supplier_sample.py @@ -69,8 +69,11 @@ class SampleSupplierTest(InvenTreeAPITestCase): self.assertEqual(len(res.data), 15) self.assertEqual(res.data[0]['sku'], 'BOLT-Steel-M5-5') - def test_import_part(self): - """Test importing a part by supplier.""" + def _disabled_test_import_part(self): + """Test importing a part by supplier. + + Note: This test is disabled for the 1.2.x branch, as a fix has not been back-ported for the broken test + """ # Activate plugin plugin = registry.get_plugin('samplesupplier', active=None) config = plugin.plugin_config()