mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(tests): fix test_path
- assets path has changed
This commit is contained in:
parent
30c3b7a6fc
commit
db05445103
@ -9,7 +9,7 @@ from PIL import Image
|
||||
|
||||
import invokeai.frontend.web.dist as frontend
|
||||
import invokeai.configs as configs
|
||||
import invokeai.assets.web as assets_web
|
||||
import invokeai.app.assets.images as image_assets
|
||||
|
||||
class ConfigsTestCase(unittest.TestCase):
|
||||
"""Test the configuration related imports and objects"""
|
||||
@ -35,7 +35,7 @@ class ConfigsTestCase(unittest.TestCase):
|
||||
|
||||
def test_caution_img(self):
|
||||
"""Verify the caution image"""
|
||||
caution_img = Image.open(osp.join(assets_web.__path__[0], "caution.png"))
|
||||
caution_img = Image.open(osp.join(image_assets.__path__[0], "caution.png"))
|
||||
assert caution_img.width == int(500)
|
||||
assert caution_img.height == int(441)
|
||||
assert caution_img.format == str("PNG")
|
||||
|
Loading…
Reference in New Issue
Block a user