aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/odl/test_odl.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/tests/unit/odl/test_odl.py')
-rw-r--r--functest/tests/unit/odl/test_odl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/tests/unit/odl/test_odl.py b/functest/tests/unit/odl/test_odl.py
index c11948bb..aa31703b 100644
--- a/functest/tests/unit/odl/test_odl.py
+++ b/functest/tests/unit/odl/test_odl.py
@@ -13,7 +13,6 @@ import logging
import os
import unittest
-from keystoneauth1.exceptions import auth_plugins
import mock
from robot.errors import RobotError
import six
@@ -331,7 +330,7 @@ class ODLRunTesting(ODLTesting):
def test_exc(self):
with mock.patch('snaps.openstack.utils.keystone_utils.get_endpoint',
- side_effect=auth_plugins.MissingAuthPlugin()):
+ side_effect=Exception()):
self.assertEqual(self.test.run(),
testcase.TestCase.EX_RUN_ERROR)