summaryrefslogtreecommitdiff
path: root/nova/tests/unit/scheduler/client
diff options
context:
space:
mode:
authorChris Dent <cdent@anticdent.org>2018-01-03 20:02:17 +0000
committerChris Dent <cdent@anticdent.org>2018-01-03 20:02:17 +0000
commitc75dcaa155cbd31d8f33425432b6ccff6f9112ba (patch)
treee80f6f52d87d06d169a24e160fd19b85ea3c4d7b /nova/tests/unit/scheduler/client
parentf95f165b49fbc0efe29450b0e858a3ccadecedea (diff)
downloadnova-c75dcaa155cbd31d8f33425432b6ccff6f9112ba.tar.gz
Fix documentation nits in set_and_clear_allocations
When I88aa32a95ea64ab7a9214772fd6e2a80c185d0cd was merged there were suggestions to make the docstring more correct. The patch includes those changes. Change-Id: Ib7c476ed44e470d9cc738523ab51f7c91505a6eb
Diffstat (limited to 'nova/tests/unit/scheduler/client')
-rw-r--r--nova/tests/unit/scheduler/client/test_report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/unit/scheduler/client/test_report.py b/nova/tests/unit/scheduler/client/test_report.py
index f87fc2d321..bf04db7e89 100644
--- a/nova/tests/unit/scheduler/client/test_report.py
+++ b/nova/tests/unit/scheduler/client/test_report.py
@@ -1169,7 +1169,7 @@ class TestSetAndClearAllocations(SchedulerReportClientTestCase):
self.assertFalse(resp)
# Post was attempted three times.
- self.assertEqual(3, len(self.mock_post.call_args_list))
+ self.assertEqual(3, self.mock_post.call_count)
@mock.patch('nova.scheduler.client.report.LOG.warning')
def test_not_409_failure(self, mock_log):