Commit Graph

3 Commits

Author SHA1 Message Date
Eric Fried 8e1ca5bf34 Use uuidsentinel from oslo.utils
oslo.utils release 3.37.0 [1] introduced uuidsentinel [2]. This change
rips out nova's uuidsentinel and replaces it with the one from
oslo.utils.

[1] https://review.openstack.org/#/c/599754/
[2] https://review.openstack.org/#/c/594179/

Change-Id: I7f5f08691ca3f73073c66c29dddb996fb2c2b266
Depends-On: https://review.openstack.org/600041
2018-09-05 09:08:54 -05:00
hussainchachuliya 2a5b7773af Remove redundant str typecasting
generate_uuid method returns uuid as str so there is no need
to typecast it to str again.

TrivialFix

Change-Id: I1c9cb410a175249467c4934d6820f55a63aaed6a
2016-09-23 12:53:34 +05:30
Dan Smith efe7df9239 Add uuidsentinel test module
This adds a module that behaves like mock.sentinel, but that returns
UUIDs suitable for use in tests where we need that specifically.

Change-Id: Ie15c0becad4f016ae730c7fa47d6ec21fdec8783
2015-12-14 11:28:55 +01:00