4 Commits

Author SHA1 Message Date
sunyandi
84f950f6db Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'
Trivial fix.

Change-Id: Ie89f2bd03822cb76ee09d1d91284e7d356f5e5c5
2018-01-19 19:21:47 +08:00
lvdongbing
0e99039d42 Add toggle 'dashed' to 'generate_uuid' function
Enable 'generate_uuid' function to generate uuid with dashes or not,
because some projects use uuid with dashes while some others not.

Change-Id: I6f213ea47de5713a79b5e0dccf486a7bba88f853
2016-12-06 02:38:08 -05:00
gecong1973
e38afc1f18 Change assertTrue(isinstance()) by optimal assert
Some of tests use different method of
assertTrue(isinstance(A, B)) or assertEqual(type(A), B).
The correct way is to use assertIsInstance(A, B) provided by testtools

Change-Id: I30c6b98350d7b58b3be59aee267f98fea4e483ab
2016-09-30 15:25:43 +08:00
Doug Hellmann
ca76fdcb52 Move files out of the namespace package
Move the public API out of oslo.utils to oslo_utils. Retain the ability
to import from the old namespace package for backwards compatibility for
this release cycle.

bp/drop-namespace-packages

Change-Id: Ic6dd62097399bf75e3d11b4d8a6400971069c415
2015-01-06 17:07:36 -05:00