2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-04 14:10:52 +00:00

fix test assumption (#12296)

This commit is contained in:
Matthias Mair
2026-07-03 08:46:06 +02:00
committed by GitHub
parent 2722d5450d
commit 5595a0a52b
+1 -1
View File
@@ -30,7 +30,7 @@ class TemplateTagTest(InvenTreeTestCase):
shipped_js = resp.split('<script type="module" src="')[1:] shipped_js = resp.split('<script type="module" src="')[1:]
self.assertGreater(len(shipped_js), 0) self.assertGreater(len(shipped_js), 0)
self.assertGreater(len(shipped_js), 3) self.assertGreater(len(shipped_js), 2)
manifest_file = Path(__file__).parent.joinpath('static/web/.vite/manifest.json') manifest_file = Path(__file__).parent.joinpath('static/web/.vite/manifest.json')
# Try with removed manifest file # Try with removed manifest file