Merge lp://qastaging/~fgimenez/qakit/snappy into lp://qastaging/qakit

Proposed by Federico Gimenez
Status: Work in progress
Proposed branch: lp://qastaging/~fgimenez/qakit/snappy
Merge into: lp://qastaging/qakit
Diff against target: 386 lines (+114/-69)
6 files modified
qakit/practitest/auth.py (+4/-7)
qakit/practitest/config.ini.sample (+1/-2)
qakit/practitest/practisubunit.py (+1/-5)
qakit/practitest/practitest.py (+38/-22)
qakit/practitest/report_subunit_results_to_practitest.py (+69/-32)
qakit/practitest/subunit_results.py (+1/-1)
To merge this branch: bzr merge lp://qastaging/~fgimenez/qakit/snappy
Reviewer Review Type Date Requested Status
Canonical Platform QA Team Pending
Review via email: mp+290747@code.qastaging.launchpad.net

Description of the change

Updated to work with the new token api authentication. Other fixes:

* config file path
* hardcoded filter id moved to arg
* removed hardcoded field ids (in progress)

You can create a TestSet with:

python3 -m qakit.practitest.report_subunit_results_to_practitest results.subunit create name="testing" device="openstack-amd64" level="Regression" release="15.10" build="mybuild" buildinfo="mybuildinfo"

having a config.ini file in qakit/practitest/config.ini (there's a sample in that directory)

And update it with:

python3 -m qakit.practitest.report_subunit_results_to_practitest results.subunit update --no_ask_confirm $TESTSET_DISPLAY_ID

or, if the system_id is available:

python3 -m qakit.practitest.report_subunit_results_to_practitest results.subunit update --no_ask_confirm --testset_system_id $TESTSET_SYSTEM_ID

To post a comment you must log in.
52. By Federico Gimenez

Fixed update test_number argument name; prevented duplicated tests in new test set

53. By Federico Gimenez

Extract id from name

54. By Federico Gimenez

Do not return 'exists' entries when getting tests by name

55. By Federico Gimenez

optional confirm; enabled system_id as param

56. By Federico Gimenez

system_id path of execution for updates refactored

57. By Federico Gimenez

create action does not require a results file

58. By Federico Gimenez

making logger to write to stdout

59. By Federico Gimenez

reverted build and buildinfo, added ids

Unmerged revisions

59. By Federico Gimenez

reverted build and buildinfo, added ids

58. By Federico Gimenez

making logger to write to stdout

57. By Federico Gimenez

create action does not require a results file

56. By Federico Gimenez

system_id path of execution for updates refactored

55. By Federico Gimenez

optional confirm; enabled system_id as param

54. By Federico Gimenez

Do not return 'exists' entries when getting tests by name

53. By Federico Gimenez

Extract id from name

52. By Federico Gimenez

Fixed update test_number argument name; prevented duplicated tests in new test set

51. By Federico Gimenez

updated to token auth; added custom_filter_id param; updated field ids (more iterations on this soon)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches