2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-13 06:01:35 +00:00

Further tweaks (#10147)

- Really not sure why the tests are passing in local CI but failing in docker build??
This commit is contained in:
Oliver
2025-08-08 00:46:07 +10:00
committed by GitHub
parent 7327efbafd
commit 681e1cb669

View File

@@ -106,6 +106,7 @@ class PluginDetailAPITest(PluginMixin, InvenTreeAPITestCase):
url,
{'confirm': True, 'url': self.PKG_URL, 'packagename': self.PKG_NAME},
expected_code=201,
max_query_count=450,
max_query_time=30,
).data
self.assertEqual(data['success'], 'Installed plugin successfully')
@@ -642,6 +643,7 @@ class PluginFullAPITest(PluginMixin, InvenTreeAPITestCase):
self.assertEqual(data['active'], False)
response = self.patch(
reverse('api-plugin-uninstall', kwargs={'plugin': slug}),
data={'delete_config': True},
max_query_count=350,
)
self.assertEqual(response.status_code, 200)