]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Modify test_hpe3par to support random hash
authorVictor Stinner <vstinner@redhat.com>
Thu, 5 Nov 2015 14:18:58 +0000 (15:18 +0100)
committerVictor Stinner <vstinner@redhat.com>
Mon, 16 Nov 2015 08:57:50 +0000 (09:57 +0100)
commita61b0e6c22869992f9be594be2b050504a220bb8
tree48205404fc5b2c5998aa2471ad20ab5d31c39dd3
parentd199ab6b00aa59be06d3c901a0b4b66cc31e4d7a
Modify test_hpe3par to support random hash

On Python 3, or on Python 2 with -R command line option, the hash
function is now randomized for security. Changes:

* Rename CommentMatcher to Comment and simplify it.
* Generalize the usage of Comment.

Change-Id: I0233bab571aee3c034f067e6c28e6b38dc017db9
cinder/tests/unit/test_hpe3par.py