Skip to content

Commit 287ec7d

Browse files
Merge pull request #858 from allmightyspiff/v5-2-12-test-fixes
fixed some failing unit tests
2 parents 44b9dce + f823adf commit 287ec7d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tests/managers/block_tests.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ def test_list_block_volumes(self):
8787
'bytesUsed,'\
8888
'serviceResource.datacenter[name],'\
8989
'serviceResourceBackendIpAddress,'\
90-
'activeTransactionCount'
90+
'activeTransactionCount,'\
91+
'replicationPartnerCount'
9192

9293
self.assert_called_with(
9394
'SoftLayer_Account',
@@ -128,7 +129,8 @@ def test_list_block_volumes_with_additional_filters(self):
128129
'bytesUsed,'\
129130
'serviceResource.datacenter[name],'\
130131
'serviceResourceBackendIpAddress,'\
131-
'activeTransactionCount'
132+
'activeTransactionCount,'\
133+
'replicationPartnerCount'
132134

133135
self.assert_called_with(
134136
'SoftLayer_Account',

tests/managers/file_tests.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ def test_list_file_volumes(self):
294294
'serviceResource.datacenter[name],'\
295295
'serviceResourceBackendIpAddress,'\
296296
'activeTransactionCount,'\
297-
'fileNetworkMountAddress'
297+
'fileNetworkMountAddress,'\
298+
'replicationPartnerCount'
298299

299300
self.assert_called_with(
300301
'SoftLayer_Account',
@@ -335,7 +336,8 @@ def test_list_file_volumes_with_additional_filters(self):
335336
'serviceResource.datacenter[name],'\
336337
'serviceResourceBackendIpAddress,'\
337338
'activeTransactionCount,'\
338-
'fileNetworkMountAddress'
339+
'fileNetworkMountAddress,'\
340+
'replicationPartnerCount'
339341

340342
self.assert_called_with(
341343
'SoftLayer_Account',

0 commit comments

Comments
 (0)