Kaydet (Commit) e8ea79df authored tarafından Justin Michalicek's avatar Justin Michalicek

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: 's avatarJustin Michalicek <jmichalicek@gmail.com>
üst f7807bdb
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment