]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Adds tests for attribute._validate_uuid
authorZhongyue Luo <zhongyue.nah@intel.com>
Mon, 12 Nov 2012 08:18:21 +0000 (16:18 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Mon, 12 Nov 2012 08:18:21 +0000 (16:18 +0800)
commitade8d96cd61f42b8684b64b2f5bfc4ad923cde30
tree5721b3573db56d98dfb7ef08c5f821c03cf5e086
parent30b64f0b901cdf0f3121f4ddb5b96e236f4155b1
Adds tests for attribute._validate_uuid

Removed redundant condition in _validate_uuid logic
Wrote test cases accordingly

Change-Id: I6ee83bda90cdfeaeaa17da6241f2673d0959baa2
quantum/api/v2/attributes.py
quantum/tests/unit/test_attributes.py