fix test assumption (#12296)
This commit is contained in:
parent
2722d5450d
commit
5595a0a52b
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue