Avoid redefinition of test

test_add_member() is defined twice under the same
name, however checking for different things. Rename
the 2nd instance to _unauthorized to avoid overwriting
the first implementation.

The first check is actually duplicate to test_add_member_positive.
So merging the first check with test_add_member_positive.

Change-Id: Ifb029d8f34f9f4139557bb9b197492fb344a598e
Convert Windows to Unix style line endings

This is more consistent with other files and fixes
Hacking warning H601.

Change-Id: I2ba5436df78dc82ca48bf53bc178106edd514f4c
checking length of argument list in "glance-cache-image" command

Currently, "image id" is got by "pop" method without checking length
of argument list in "queue_image" method(glance/cmd/cache_manage.py)

Consequently, only last element of argument list is used,
other elements are ignored.
 ex)
  glance-cache-image queue-image <image-id1> <image-id2> <image-id3>
  -> <image-id3> is selected and queued.
     <image-id1>/<image-id2> is ignored.

Because "glance-cache-image" command is user command(*),
I think that elements which are ignored should not be existed
and checking of length is essential.

In order to check length, I replaced "try/except" statement with
"if/else" statement.

Also, I modified 2 methods at the same point.
 -delete_queued_image
 -delete_cached_image

 * http://docs.openstack.org/developer/glance/cache.html

Change-Id: I5cff1f9b5fe8f718ca74f1c9f58dba469396dc8f
Closes-Bug: #1236709
Remove redundant dependencies in test-requirements

Hacking 0.7 already pins down pep8, pyflakes and flake8 so they can be
removed from test-requirements as they are indirect dependencies.

Co-author: Joe Gordon <joe.gordon0@gmail.com>

Change-Id: Ia9f50e35f292ba35f8ca036cd66c930a3ad46ffd
Use HTTP storage to test copy file functionality

The copy file functionality should be tested using Filesystem and HTTP
backend stores instead of S3 and Swift (requiring more configuration).

Closes-Bug: #1175940

Change-Id: I8c45598f2f004006f379861479f6f34150d0f649
Fixes wrong Qpid protocol configuration

notify_qpid.py is suffering from the same issue as described in
launchpad bug https://bugs.launchpad.net/oslo/+bug/1158807.
Instead of setting connection.transport, it is attempting to
set connection.protocol.

Fixes bug 1243821

Change-Id: Ice3e7ad917c158a5953475809f3f46f48fd6054d
Sync iso8601 requirement and fixes test case failures

1. Sync requirements from global.
2. iso8601>=0.1.7 "parse_date()" could successfully handle date string
which only have date part like YYYY-MM-DD, it caused two Glance test
cases failure.

Fixes bug: 1242501

Change-Id: I2625eb3888111829a9da4d093b34193b8795f264
Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
Addition of third example for Property Protections

Includes an example to limit all property interactions to admin only using policy rule
context_is_admin defined in policy.json

Change-Id: I22dddc06a84312b3b1cbd195cb84839e0321a9f0
Closes-Bug: #1243945
Update my mailmap

Using new email address.

Change-Id: I8643bd23a1c7de9c8066b8e00853a2860dbbfd2f
Adds tasks to db api

And includes unit test cases.

Partially implement blueprint async-glance-workers

Change-Id: I4b11e3531edf7c85d27f2a4e5667b920fe2333e7
Merge "Convert Windows to Unix style line endings"
Merge "Remove redundant dependencies in test-requirements"
Merge "Adds tasks to db api"
Merge "Update my mailmap"
Replace qpid_host with qpid_hostname

This patch replaces `qpid_host` with `qpid_hostname` in both the
documentation and the config file sample. `qpid_host` has been shipped
as the parameter to specify qpid's hostname, although the correct one is
`qpid_hostname`.

DocImpact
Closes-bug 1242715

Change-Id: I25f2d0e505560e1762f7f059728c33c47a23439e
Merge "Avoid redefinition of test"
Merge "Addition of third example for Property Protections"
Merge "Replace qpid_host with qpid_hostname"
Merge "checking length of argument list in "glance-cache-image" command"
Imported Translations from Transifex

Change-Id: I88962562acbec7151079d0022d09ed0f9335458d