summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Michalicek <jmichalicek@gmail.com>2016-07-12 10:04:37 -0400
committerJustin Michalicek <jmichalicek@gmail.com>2016-07-12 10:06:34 -0400
commite8ea79dfdb7b722801113131bfe90e88c141dc09 (patch)
tree69367e33409f2005709a7c585ff5ad8ffe5c79d1
parentf7807bdb52513dcbdab486a633ad5edeefa09e66 (diff)
downloaddocker-py-e8ea79dfdb7b722801113131bfe90e88c141dc09.tar.gz
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>
-rw-r--r--tests/unit/build_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/build_test.py b/tests/unit/build_test.py
index 8bd626b..b2705eb 100644
--- a/tests/unit/build_test.py
+++ b/tests/unit/build_test.py
@@ -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'