access allow test fixed

This commit is contained in:
Yulia Portnova 2013-09-17 16:22:28 +03:00
parent 2b9993e548
commit d20a98e692
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
*.pyc
.idea
python_manilaclient.egg-info
setuptools_git*.egg
setuptools_git*.egg

View File

@ -66,6 +66,7 @@ class FakeHTTPClient(fakes.FakeHTTPClient):
action = body.keys()[0]
if action == 'os-allow_access':
assert body[action].keys() == ['access_type', 'access_to']
_body = {'access': {}}
elif action == 'os-deny_access':
assert body[action].keys() == ['access_id']
elif action == 'os-access_list':