summaryrefslogtreecommitdiff
path: root/squad_client/core/models.py
AgeCommit message (Collapse)Author
2021-01-22tests: test_shortcuts: remove test against project_settingsCharles Oliveira
The field is no long available
2021-01-20Add some printable representations for a few classesJustin Cook
2020-12-18core: add "unit" to Metric attributesCharles Oliveira
2020-12-17core: models: avoid loading testrun environmentCharles Oliveira
2020-12-10core: models: add environment and build to TestCharles Oliveira
2020-12-09core: models: add tests endpoint to buildCharles Oliveira
This will alow fetching tests directly from the build endpoint, making a way around testrun
2020-12-03core: models: do not crash in str() if attribute is missingDmitry Baryshkov
In case attribute is missing, do not crash with the AttributeError 'object has no attribute', but return None instead. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-12-03core: models: add missing url attributeDmitry Baryshkov
Several models missed 'url' attribute, add it back. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
2020-10-09core: models: query tests in Suite classCharles Oliveira
Now one can get all tests belonging to a Suite. Although that's probably a huge test set, it shouldn't time out the backend server.
2020-07-28shortcuts: add create_or_update_project shortcutCharles Oliveira
2020-07-27core: models allow project creationCharles Oliveira
2020-06-24core: models: add nested endpoints to modelsAmro Hassaan
2020-06-17Add methods to fetch environments from a projectJustin Cook
2020-06-10core: shortcuts: add shortcut to compare buildsAmro Hassaan
2020-05-18core: models: fix metrics and testrun status endpointsCharles Oliveira
2020-05-18Merge pull request #34 from amrohassaan/add_metrics_to_reportCharles Oliveira
core: models: add metrics
2020-05-12core: models: add suite do project modelCharles Oliveira
2020-04-22core: models: add metricsAmro Hassaan
add metrics attrs and use it in report to call the new metric ep in Squad. Also add summary per env.
2020-04-16Merge pull request #32 from chaws/use-test-run-statusmwasilew
core: models: use testrun status endpoint
2020-04-14core: models: use testrun status endpointCharles Oliveira
2020-04-14core: models: fix small bugs and add helpful messagesCharles Oliveira
2020-04-13core: models: update metricthreshold to use envCharles Oliveira
2020-04-08shortcuts: add submit_results shortcutCharles Oliveira
Submit results is used to submit test results to SQUAD API
2020-04-06reports: improve generic reportsAmro Hassaan
display all build metadata and default count to ALL in all Squad class functions
2020-03-26Merge pull request #21 from chaws/improve-testingmwasilew
Improve testing
2020-03-12Add test status totalsAmro Hassaan
core: models: add test status totals to TestRun.
2020-03-11tests: add flake8 checkCharles Oliveira
2020-03-09core: add BuildStatus objectMilosz Wasilewski
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2020-03-09models: rename parameters added to objectsMilosz Wasilewski
In case of BuildMetadata keys can contain whitespaces. When the properties were added to objects, keys were updated to replace white space with underscore. This meant that the value couldn't be retrieved from JSON object collected from SQUAD. This patch fixes this problem by only updating the object property name, not the key itself. Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
2020-02-22core: models: add methods to support reportingCharles Oliveira
2020-02-21core: move files to coreCharles Oliveira