access allow test fixed
This commit is contained in:
parent
2b9993e548
commit
d20a98e692
|
@ -1,4 +1,5 @@
|
|||
*.pyc
|
||||
.idea
|
||||
python_manilaclient.egg-info
|
||||
setuptools_git*.egg
|
||||
setuptools_git*.egg
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue