mirror of https://github.com/docker/docker-py.git
Change double underscore in test case names for _set_auth_headers
* Change test__set_auth_headers_* methods to test_set_auth_headers_* Signed-off-by: Justin Michalicek <jmichalicek@gmail.com>
This commit is contained in:
parent
f7807bdb52
commit
e8ea79dfdb
|
@ -122,7 +122,7 @@ class BuildTest(DockerClientTest):
|
|||
})
|
||||
)
|
||||
|
||||
def test__set_auth_headers_with_empty_dict_and_auth_configs(self):
|
||||
def test_set_auth_headers_with_empty_dict_and_auth_configs(self):
|
||||
self.client._auth_configs = {
|
||||
'https://example.com': {
|
||||
'user': 'example',
|
||||
|
@ -137,7 +137,7 @@ class BuildTest(DockerClientTest):
|
|||
self.client._set_auth_headers(headers)
|
||||
self.assertEqual(headers, expected_headers)
|
||||
|
||||
def test__set_auth_headers_with_dict_and_auth_configs(self):
|
||||
def test_set_auth_headers_with_dict_and_auth_configs(self):
|
||||
self.client._auth_configs = {
|
||||
'https://example.com': {
|
||||
'user': 'example',
|
||||
|
@ -154,7 +154,7 @@ class BuildTest(DockerClientTest):
|
|||
self.client._set_auth_headers(headers)
|
||||
self.assertEqual(headers, expected_headers)
|
||||
|
||||
def test__set_auth_headers_with_dict_and_no_auth_configs(self):
|
||||
def test_set_auth_headers_with_dict_and_no_auth_configs(self):
|
||||
headers = {'foo': 'bar'}
|
||||
expected_headers = {
|
||||
'foo': 'bar'
|
||||
|
|
Loading…
Reference in New Issue