2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-09 03:03:41 +00:00

Disable broken unit test (#11549)

This commit is contained in:
Oliver
2026-03-17 22:40:11 +11:00
committed by GitHub
parent 60f2d9d314
commit 4789a202ee
@@ -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()