42ab67b22b762ec0368d8b0ffcc97a481ce75e8f
[releng.git] / utils / test / result_collection_api / update / changes.py
1 ##############################################################################
2 # Copyright (c) 2016 ZTE Corporation
3 # feng.xiaowei@zte.com.cn
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 collections_old2New = {
10     'pod': 'pods',
11     'test_projects': 'projects',
12     'test_testcases': 'testcases',
13     'test_results': 'results'
14 }
15
16 fields_old2New = {
17     'test_results': [({}, {'creation_date': 'start_date'})]
18 }
19
20 docs_old2New = {
21     'test_results': [
22         ({'criteria': 'failed'}, {'criteria': 'FAILED'}),
23         ({'criteria': 'passed'}, {'criteria': 'PASS'})
24     ]
25 }