mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-04 06:00:38 +00:00
fix test assumption (#12296)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user