Replaced e.message with str(e)
For logging the exception message: e.message has been deprecated. The preferred way is to call str(e). Change-Id: If14adfb9eae5fcd95822b07cea3bd66d16dacea2
This commit is contained in:
parent
f8f947383a
commit
ec36bde960
@ -303,7 +303,7 @@ class TestTopology(BaseTopologyTest):
|
||||
except ClientException as e:
|
||||
self.assertEqual(403, e.code)
|
||||
self.assertEqual(
|
||||
e.message,
|
||||
str(e),
|
||||
"Graph-type 'graph' requires a 'root' with 'depth'")
|
||||
finally:
|
||||
self._rollback_to_default()
|
||||
|
Loading…
x
Reference in New Issue
Block a user