Fixed 'convention' related code smell reported by SonarQube.

This commit is contained in:
Aditya Toshniwal
2020-07-06 11:48:23 +05:30
committed by Akshay Joshi
parent fcf720a5d8
commit 45a03dd663
22 changed files with 98 additions and 103 deletions

View File

@@ -86,7 +86,7 @@ class SearchObjectsHelperTest(BaseTestGenerator):
for data in blueprints:
if node_type == data['node_type']:
blueprint = MagicMock(
BackendSupported=MagicMock(
backend_supported=MagicMock(
return_value=data['backend_supported']),
collection_label=data['coll_label'],
show_node=data['backend_supported'],