oslo.versionedobjects/oslo_versionedobjects/tests
Balazs Gibizer ad962c05be Make the hash of a defaulted set field stable
The string representation of an empty set is different between py27 and
py35. The ObjectVersionChecker uses the string represenation of the
default value of the fields as input for the hash of the object. This
makes hash of an object with a set field defaulted to an empty set
unstable.

This patch enhances the repr generation of the Field object to avoid the
unstable hash situation.

Change-Id: Ie9519c1893175614d60af97b635e6ff57f2b0d7d
Closes-Bug: #1771804
2018-06-01 16:08:31 +02:00
..
__init__.py rename files 2015-02-02 15:07:55 -05:00
obj_fixtures.py Remove already commented out and unused fixtures 2015-02-19 16:31:02 +01:00
test_exception.py Replace safe_utils.getcallargs with inspect.getcallargs 2016-04-19 19:38:58 +08:00
test_fields.py Make the hash of a defaulted set field stable 2018-06-01 16:08:31 +02:00
test_fixture.py Make the hash of a defaulted set field stable 2018-06-01 16:08:31 +02:00
test_objects.py Add a TimestampedObject mixin 2017-08-21 17:03:50 +01:00