mirror of
https://github.com/inventree/InvenTree.git
synced 2026-05-12 12:38:42 +00:00
fix test assertation (#11908)
follow up to https://github.com/inventree/InvenTree/pull/11896
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.assertEqual(len(shipped_js), 3)
|
self.assertGreater(len(shipped_js), 3)
|
||||||
|
|
||||||
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