Fix to store idempotent_id (UUID) in the database.

uid was rename to uuid sometime ago.  Rename test_result.uid to
the corect name test_result.uuid so that UUID data can be stored
in the database.

Change-Id: I6e6b01cf44a049a0221620bd53221554f383cc64
This commit is contained in:
cdiep 2015-04-27 17:06:39 -07:00 committed by Sergey Slipushenko
parent c4a5f8e69c
commit a8a358fe4c

View File

@ -72,7 +72,7 @@ def store_results(results):
test_result = models.TestResults()
test_result.test_id = test_id
test_result.name = result['name']
test_result.uid = result.get('uuid', None)
test_result.uuid = result.get('uuid', None)
test.results.append(test_result)
for k, v in six.iteritems(results.get('metadata', {})):
meta = models.TestMeta()