Skip to content

Commit 742be8f

Browse files
author
Fernando Ojeda
committed
Fix coverage issue.
1 parent 4158eb7 commit 742be8f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SoftLayer/CLI/user/detail.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def basic_info(user, keys):
8080
table.add_row(['Phone Number', user.get('officePhone')])
8181
if user.get('parentId', False):
8282
table.add_row(['Parent User', utils.lookup(user, 'parent', 'username')])
83-
table.add_row(['Status', utils.lookup(user, 'userStatus', 'name')])
83+
table.add_row(
84+
['Status', utils.lookup(user, 'userStatus', 'name')])
8485
table.add_row(['SSL VPN', user.get('sslVpnAllowedFlag', 'No')])
8586
for login in user.get('unsuccessfulLogins', {}):
8687
login_string = "%s From: %s" % (login.get('createDate'), login.get('ipAddress'))

SoftLayer/fixtures/SoftLayer_User_Customer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
'isMasterUserFlag': False,
1414
'lastName': 'Testerson',
1515
'openIdConnectUserName': 'test@us.ibm.com',
16-
'parent': {'id': 167758, 'username': 'SL12345'},
16+
'parent': {
17+
'id': 167758, 'username': 'SL12345'},
1718
'parentId': 167758,
1819
'postalCode': '77002',
1920
'sslVpnAllowedFlag': True,

0 commit comments

Comments
 (0)