Updated openstack/openstack
Project: openstack/swift  18cb1defd8d0444da82e3e55367844470d32647a
null
Raise diskfile.py module coverage to > 98%

We attempt to get the code coverage (with branch coverage) to 100%,
but fall short because due to interactions between coverage.py and
CPython's peephole optimizer. See:

    https://bitbucket.org/ned/coveragepy/issue/198/continue-marked-as-not-covered

In the main diskfile module, we remove the check for a valid
"self._tmppath" since it is only one of a number of fields that could
be verified and it was not worth trying to get coverage for it. We
also remove the try / except around the close() method call in the
DiskFileReader's app_iter_ranges() method since it will never be
called in a context that will raise a quarantine exception (by
definition ranges can't generate a quarantine event).

We also:

* fix where quarantine messages are checked to ensure the
  generator is actually executed before the check
* in new and modified tests:
  * use assertTrue in place of assert_
  * use assertEqual in place of assertEquals
* fix references to the reserved word "object"

Change-Id: I6379be04adfc5012cb0b91748fb3ba3f11200b48
Updated openstack/openstack
Project: openstack/glance  edd355a694307f7182a67d9742504a2cf9ca50e0
null
replace type calls with isinstance

In store/__init__.py, there are two uses of the "type" method to
check type compatibility. It is better to use the "isinstance" method
since it will work for subtypes as well.

Change-Id: I20958aa449822cac2cb03e12557fded3f45a9e05
Closes-Bug: #1267074
Updated openstack/openstack
Project: openstack/glance  8efd443e0dd92b3e008f65f12fe1ae423853b6c4
null
fix comments and docstrings misspelled words

Change-Id: I355b6fedf372b1273ceaebe22e8e890aa9c913c9
Closes-bug: #1267103