From db0544510325994b78b24d231428d0603c8e624a Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 26 Jul 2023 18:48:43 +1000 Subject: [PATCH] fix(tests): fix test_path - assets path has changed --- tests/test_path.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_path.py b/tests/test_path.py index 6076c6554f..52936142c7 100644 --- a/tests/test_path.py +++ b/tests/test_path.py @@ -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")