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:
@@ -69,8 +69,11 @@ class SampleSupplierTest(InvenTreeAPITestCase):
|
|||||||
self.assertEqual(len(res.data), 15)
|
self.assertEqual(len(res.data), 15)
|
||||||
self.assertEqual(res.data[0]['sku'], 'BOLT-Steel-M5-5')
|
self.assertEqual(res.data[0]['sku'], 'BOLT-Steel-M5-5')
|
||||||
|
|
||||||
def test_import_part(self):
|
def _disabled_test_import_part(self):
|
||||||
"""Test importing a part by supplier."""
|
"""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
|
# Activate plugin
|
||||||
plugin = registry.get_plugin('samplesupplier', active=None)
|
plugin = registry.get_plugin('samplesupplier', active=None)
|
||||||
config = plugin.plugin_config()
|
config = plugin.plugin_config()
|
||||||
|
|||||||
Reference in New Issue
Block a user