Skip to content

Commit f6677a7

Browse files
caberoscaberos
authored andcommitted
fix the team code review
1 parent a02f491 commit f6677a7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

SoftLayer/CLI/virt/billing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def cli(env, identifier):
3030
table.add_row(['Total', utils.lookup(result, 'billingItem', 'nextInvoiceTotalRecurringAmount')])
3131
table.add_row(['Provision Date', utils.lookup(result, 'provisionDate')])
3232

33-
price_table = formatting.Table(['description', 'Recurring Price'])
33+
price_table = formatting.Table(['Description', 'Recurring Price'])
3434
for item in utils.lookup(result, 'billingItem', 'children') or []:
3535
price_table.add_row([item['description'], item['nextInvoiceTotalRecurringAmount']])
3636

tests/CLI/modules/vs/vs_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -820,11 +820,11 @@ def test_billing(self):
820820
'Recurring Fee': None,
821821
'Total': 1.54,
822822
'prices': [
823-
{'description': '1 GB', 'Recurring Price': 1},
824-
{'description': 'Reboot / Remote Console', 'Recurring Price': 1},
825-
{'description': '1 Gbps Public & Private Network Uplinks', 'Recurring Price': 1},
826-
{'description': '1 Gbps Public Uplink', 'Recurring Price': 1},
827-
{'description': '1 Gbps Private Uplink', 'Recurring Price': 1}
823+
{'Description': '1 GB', 'Recurring Price': 1},
824+
{'Description': 'Reboot / Remote Console', 'Recurring Price': 1},
825+
{'Description': '1 Gbps Public & Private Network Uplinks', 'Recurring Price': 1},
826+
{'Description': '1 Gbps Public Uplink', 'Recurring Price': 1},
827+
{'Description': '1 Gbps Private Uplink', 'Recurring Price': 1}
828828
]
829829
}
830830
self.assert_no_fail(result)

0 commit comments

Comments
 (0)