From 2f28d5b998124974c02452a68cc7e2264f171cc2 Mon Sep 17 00:00:00 2001 From: Komal Thareja Date: Tue, 27 Aug 2024 08:32:11 -0400 Subject: [PATCH] change exception name to account for SliceManager restructuring --- tests/unit/test_basic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/test_basic.py b/tests/unit/test_basic.py index 947b0b57..3b1a76f0 100644 --- a/tests/unit/test_basic.py +++ b/tests/unit/test_basic.py @@ -4,6 +4,7 @@ import unittest from fabrictestbed.fabric_manager import FabricManagerException +from fabrictestbed.token_manager.token_manager import TokenManagerException from fabrictestbed.util.constants import Constants from fabrictestbed_extensions.fablib.config.config import Config, ConfigException @@ -62,7 +63,7 @@ def test_fablib_manager_test_only_project_id(self): os.environ[Constants.FABRIC_PROJECT_ID] = "dummy" os.environ[Constants.FABRIC_TOKEN_LOCATION] = self.DUMMY_TOKEN_LOCATION self.assertRaises( - FabricManagerException, FablibManager, fabric_rc=self.rcfile.name + TokenManagerException, FablibManager, fabric_rc=self.rcfile.name ) def test_fablib_manager_test_only_token_location(self):