aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-02-26 16:50:36 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-26 16:50:36 +0000
commit00182139afbfa67541340d46e49d948d1f69840c (patch)
tree889fd1d43b98d94eb09498ed8675d2331d6a3264 /functest/tests/unit
parent0f32796cae2aec6f778758f377ca76ffac1c8215 (diff)
parentd262b55a1e29b1202cd584f859d2d221d9addb8c (diff)
Merge "Stop raising keystoneauth1 exceptions in odl unit tests"
Diffstat (limited to 'functest/tests/unit')
-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)