summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/common/test_restapi.py4
-rw-r--r--openstackclient/tests/identity/v3/fakes.py3
-rw-r--r--openstackclient/tests/volume/v1/test_volume.py2
3 files changed, 2 insertions, 7 deletions
diff --git a/openstackclient/tests/common/test_restapi.py b/openstackclient/tests/common/test_restapi.py
index 291818c1..d4fe2d3d 100644
--- a/openstackclient/tests/common/test_restapi.py
+++ b/openstackclient/tests/common/test_restapi.py
@@ -137,10 +137,6 @@ class TestRESTApi(utils.TestCase):
user_agent=fake_user_agent,
)
gopher = api.request('GET', fake_url)
- #session_mock.return_value.headers.setdefault.assert_called_with(
- # 'X-Auth-Token',
- # fake_auth,
- #)
session_mock.return_value.request.assert_called_with(
'GET',
fake_url,
diff --git a/openstackclient/tests/identity/v3/fakes.py b/openstackclient/tests/identity/v3/fakes.py
index 711a423d..8143409d 100644
--- a/openstackclient/tests/identity/v3/fakes.py
+++ b/openstackclient/tests/identity/v3/fakes.py
@@ -114,7 +114,8 @@ IDENTITY_PROVIDER = {
'description': idp_description
}
-#Assignments
+# Assignments
+
ASSIGNMENT_WITH_PROJECT_ID_AND_USER_ID = {
'scope': {'project': {'id': project_id}},
'user': {'id': user_id},
diff --git a/openstackclient/tests/volume/v1/test_volume.py b/openstackclient/tests/volume/v1/test_volume.py
index d881598a..cb006b10 100644
--- a/openstackclient/tests/volume/v1/test_volume.py
+++ b/openstackclient/tests/volume/v1/test_volume.py
@@ -220,7 +220,6 @@ class TestVolumeCreate(TestVolume):
None,
None,
volume_fakes.volume_name,
- #volume_fakes.volume_description,
None,
None,
identity_fakes.user_id,
@@ -296,7 +295,6 @@ class TestVolumeCreate(TestVolume):
None,
None,
volume_fakes.volume_name,
- #volume_fakes.volume_description,
None,
None,
identity_fakes.user_id,