Fix PEP8 E121,E122,E123,E124,E125,E129 errors
E121: continuation line under-indented for hanging indent E122: continuation line missing indentation or outdented E123: closing bracket does not match indentation of opening bracket's line E124: closing bracket does not match visual indentation E125: continuation line with same indent as next logical line E129: visually indented line with same indent as next logical line Remove E121,E122,E123,E124,E125, & E129 from the ignore list for flake8 Change-Id: I1b98335dd24086ab0271d25d662ad667ff8c5835
This commit is contained in:
@@ -112,9 +112,7 @@ class NodeShellTest(utils.BaseTestCase):
|
||||
args.driver_info = ['arg1=val1', 'arg2=val2']
|
||||
|
||||
n_shell.do_node_create(client_mock, args)
|
||||
kwargs = {
|
||||
'driver_info': {'arg1': 'val1', 'arg2': 'val2'}
|
||||
}
|
||||
kwargs = {'driver_info': {'arg1': 'val1', 'arg2': 'val2'}}
|
||||
client_mock.node.create.assert_called_once_with(**kwargs)
|
||||
|
||||
def test_do_node_create_with_properties(self):
|
||||
@@ -123,9 +121,7 @@ class NodeShellTest(utils.BaseTestCase):
|
||||
args.properties = ['arg1=val1', 'arg2=val2']
|
||||
|
||||
n_shell.do_node_create(client_mock, args)
|
||||
kwargs = {
|
||||
'properties': {'arg1': 'val1', 'arg2': 'val2'}
|
||||
}
|
||||
kwargs = {'properties': {'arg1': 'val1', 'arg2': 'val2'}}
|
||||
client_mock.node.create.assert_called_once_with(**kwargs)
|
||||
|
||||
def test_do_node_create_with_extra(self):
|
||||
@@ -137,7 +133,7 @@ class NodeShellTest(utils.BaseTestCase):
|
||||
n_shell.do_node_create(client_mock, args)
|
||||
kwargs = {
|
||||
'driver': 'driver_name',
|
||||
'extra': {'arg1': 'val1', 'arg2': 'val2'}
|
||||
'extra': {'arg1': 'val1', 'arg2': 'val2'},
|
||||
}
|
||||
client_mock.node.create.assert_called_once_with(**kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user