Fix wrong argument order in functional test
Fix the wrong order of mock arguments. The mocks are not used in the test, but fix it to privent mistakes in the future. TrivialFix Change-Id: Iad694b900180a310589483aeda46244a7fc5b408
This commit is contained in:
parent
78d87f0ddc
commit
ad9933957f
@ -92,8 +92,8 @@ class SchedulerReportClientTests(test.TestCase):
|
||||
return_value={'x-auth-token': 'admin'})
|
||||
@mock.patch('keystoneauth1.session.Session.get_endpoint',
|
||||
return_value='http://localhost:80/placement')
|
||||
def test_client_report_smoke(self, mock_vbi, mock_endpoint, mock_auth,
|
||||
mock_cn):
|
||||
def test_client_report_smoke(self, mock_endpoint, mock_auth, mock_cn,
|
||||
mock_vbi):
|
||||
"""Check things go as expected when doing the right things."""
|
||||
# TODO(cdent): We should probably also have a test that
|
||||
# tests that when allocation or inventory errors happen, we
|
||||
|
Loading…
x
Reference in New Issue
Block a user