Skip to content

Commit 7da2e4d

Browse files
AutoPep8 fixes
1 parent 34f6daf commit 7da2e4d

22 files changed

Lines changed: 98 additions & 108 deletions

SoftLayer/fixtures/SoftLayer_Account.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@
11731173
"virtualizationPlatform": 0,
11741174
"requiredUser": "administrator@vsphere.local"
11751175
}
1176-
}
1176+
}
11771177
]
11781178

11791179
getActiveVirtualLicenses = [{

SoftLayer/fixtures/SoftLayer_Billing_Order.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
],
4545
'orderApprovalDate': '2019-09-15T13:13:13-06:00',
4646
'orderTotalAmount': '0'
47-
}]
47+
}]
4848

4949
getObject = {
5050
'accountId': 1234,

SoftLayer/fixtures/SoftLayer_Network_Storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
}
238238

239239
refreshDuplicate = {
240-
'dependentDuplicate': 1
240+
'dependentDuplicate': 1
241241
}
242242

243243
convertCloneDependentToIndependent = {

SoftLayer/fixtures/SoftLayer_Network_Vlan.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
'vlanNumber': 4444,
88
'firewallInterfaces': None,
99
'billingItem': {
10-
'allowCancellationFlag': 1,
11-
'categoryCode': 'network_vlan',
12-
'description': 'Private Network Vlan',
13-
'id': 235689,
14-
'notes': 'test cli',
15-
'orderItemId': 147258,
16-
}
10+
'allowCancellationFlag': 1,
11+
'categoryCode': 'network_vlan',
12+
'description': 'Private Network Vlan',
13+
'id': 235689,
14+
'notes': 'test cli',
15+
'orderItemId': 147258,
16+
}
1717
}
1818

1919
editObject = True

SoftLayer/fixtures/SoftLayer_Product_Package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2137,7 +2137,7 @@
21372137
"recurringFee": "0",
21382138
"setupFee": "0",
21392139
"sort": 10,
2140-
}]
2140+
}]
21412141
}, {
21422142
"description": "Public Network Vlan",
21432143
"id": 1071,
@@ -2168,6 +2168,6 @@
21682168
"recurringFee": "0",
21692169
"setupFee": "0",
21702170
"sort": 10,
2171-
}]
2171+
}]
21722172
}
21732173
]
Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
getAllObjects = [{
2-
"capacity": "4",
3-
"key": "ABCDE-6CJ8L-J8R9H-000R0-CDR70",
4-
"units": "CPU",
5-
"billingItem": {
6-
"allowCancellationFlag": 1,
7-
"categoryCode": "software_license",
8-
"createDate": "2018-10-22T11:16:48-06:00",
9-
"cycleStartDate": "2021-06-03T23:11:22-06:00",
10-
"description": "vCenter Server Appliance 6.0",
11-
"id": 123654789,
12-
"lastBillDate": "2021-06-03T23:11:22-06:00",
13-
"modifyDate": "2021-06-03T23:11:22-06:00",
14-
"nextBillDate": "2021-07-03T23:00:00-06:00",
15-
"orderItemId": 385054741,
16-
"recurringMonths": 1,
17-
"serviceProviderId": 1,
18-
},
19-
"softwareDescription": {
20-
"id": 1529,
21-
"longDescription": "VMware vCenter 6.0",
22-
"manufacturer": "VMware",
23-
"name": "vCenter",
24-
"version": "6.0",
25-
"requiredUser": "administrator@vsphere.local"
26-
}
2+
"capacity": "4",
3+
"key": "ABCDE-6CJ8L-J8R9H-000R0-CDR70",
4+
"units": "CPU",
5+
"billingItem": {
6+
"allowCancellationFlag": 1,
7+
"categoryCode": "software_license",
8+
"createDate": "2018-10-22T11:16:48-06:00",
9+
"cycleStartDate": "2021-06-03T23:11:22-06:00",
10+
"description": "vCenter Server Appliance 6.0",
11+
"id": 123654789,
12+
"lastBillDate": "2021-06-03T23:11:22-06:00",
13+
"modifyDate": "2021-06-03T23:11:22-06:00",
14+
"nextBillDate": "2021-07-03T23:00:00-06:00",
15+
"orderItemId": 385054741,
16+
"recurringMonths": 1,
17+
"serviceProviderId": 1,
2718
},
19+
"softwareDescription": {
20+
"id": 1529,
21+
"longDescription": "VMware vCenter 6.0",
22+
"manufacturer": "VMware",
23+
"name": "vCenter",
24+
"version": "6.0",
25+
"requiredUser": "administrator@vsphere.local"
26+
}
27+
},
2828
{
2929
"capacity": "1",
3030
"key": "CBERT-4RL92-K8999-031K4-AJF5J",
@@ -48,4 +48,4 @@
4848
"name": "Virtual SAN Advanced Tier III",
4949
"version": "6.2",
5050
}
51-
}]
51+
}]

SoftLayer/fixtures/SoftLayer_Virtual_Guest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
'item': {'description': '2 GB'},
318318
'hourlyRecurringFee': '.06',
319319
'recurringFee': '42'
320-
},
320+
},
321321
'template': {'maxMemory': 2048}
322322
},
323323
{

SoftLayer/managers/vs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,8 +1067,8 @@ def upgrade(self, instance_id, cpus=None, memory=None, nic_speed=None, public=Tr
10671067
category = {'categories': [{
10681068
'categoryCode': 'guest_disk' + str(disk_number),
10691069
'complexType': "SoftLayer_Product_Item_Category"}],
1070-
'complexType': 'SoftLayer_Product_Item_Price',
1071-
'id': price_id}
1070+
'complexType': 'SoftLayer_Product_Item_Price',
1071+
'id': price_id}
10721072

10731073
prices.append(category)
10741074
order['prices'] = prices

SoftLayer/transports/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,3 @@
3333
'FixtureTransport',
3434
'SoftLayerListResult'
3535
]
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-

SoftLayer/transports/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ def get_last_calls(self):
5858

5959
def print_reproduceable(self, call):
6060
"""Prints a reproduceable debugging output"""
61-
return self.transport.print_reproduceable(call)
61+
return self.transport.print_reproduceable(call)

0 commit comments

Comments
 (0)