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:
Justin Michalicek 2016-07-12 10:04:37 -04:00
parent f7807bdb52
commit e8ea79dfdb
1 changed files with 3 additions and 3 deletions

View File

@ -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'