mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-03 17:05:18 +00:00
fix test assertation (#11908)
follow up to https://github.com/inventree/InvenTree/pull/11896
This commit is contained in:
1 parent
61eb5e8d0f
commit
39b43288bb
1 file changed
+1
-1
@@ -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