Fix failed Unit tests
Due to [1][2] default auth_version change to 3. This patch done the same changes in unit test. [1] I917e273d3174adf0874e516b3d635ccb8ba58a27 [2] https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/swift.py#L131 Change-Id: Ieb30da56109d485f592f94fefa3dd2d629651a6e
This commit is contained in:
parent
b2df5ef689
commit
1879195d64
@ -343,7 +343,7 @@ class LogsTests(test.TestCase):
|
||||
preauthurl=mock.ANY,
|
||||
cacert=None,
|
||||
insecure=False,
|
||||
auth_version="2.0")
|
||||
auth_version="3")
|
||||
self.mock_log_tail.assert_called_once_with(
|
||||
test.IsHttpRequest(),
|
||||
test.IsA(six.string_types),
|
||||
@ -374,7 +374,7 @@ class LogsTests(test.TestCase):
|
||||
preauthurl=mock.ANY,
|
||||
cacert=None,
|
||||
insecure=False,
|
||||
auth_version="2.0")
|
||||
auth_version="3")
|
||||
self.mock_log_tail.assert_called_once_with(
|
||||
test.IsHttpRequest(),
|
||||
test.IsA(six.string_types),
|
||||
|
Loading…
Reference in New Issue
Block a user