Skip to content

Commit c4c32d6

Browse files
caberoscaberos
authored andcommitted
fix the code review comments
1 parent 3b37b14 commit c4c32d6

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tests/CLI/modules/account_tests.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,17 @@ def test_account_billing_items(self):
127127
self.assert_called_with('SoftLayer_Account', 'getAllTopLevelBillingItems')
128128

129129
def test_account_billing_items_by_category(self):
130-
result = self.run_command(['account', 'billing-items', '--ordered', 'TEst'])
130+
result = self.run_command(['account', 'billing-items', '--category', 'server'])
131+
self.assert_no_fail(result)
132+
self.assert_called_with('SoftLayer_Account', 'getAllTopLevelBillingItems')
133+
134+
def test_account_billing_items_by_ordered(self):
135+
result = self.run_command(['account', 'billing-items', '--ordered', 'Test'])
136+
self.assert_no_fail(result)
137+
self.assert_called_with('SoftLayer_Account', 'getAllTopLevelBillingItems')
138+
139+
def test_account_billing_items_create(self):
140+
result = self.run_command(['account', 'billing-items', '--create', '04-21-2023'])
131141
self.assert_no_fail(result)
132142
self.assert_called_with('SoftLayer_Account', 'getAllTopLevelBillingItems')
133143

0 commit comments

Comments
 (0)