Michal Konečný
ae122d7e55
Add manual interference to scm_request_processor
...
If manual interference is needed for SCM request, smc_request_processor first
adds comment to ticket notifying the maintainers of fedora-scm-requests
repository and then waits for subsequent comment that will validate
the issue.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-23 16:24:16 +01:00
Michal Konečný
c242621af0
Add manual way to run scm_request_processor toddler
...
This is helpful when trying to test the toddler manually. It now has main and
could be ran as separate script. It just needs configuration file and ticket
number on releng/fedora-scm-requests.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-22 16:16:30 +01:00
Michal Konečný
a8dca5908f
Fix flake8 errors
...
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-21 13:44:45 +01:00
Michal Konečný
6e69a65ce0
Fix formatting
...
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-21 13:25:42 +01:00
Michal Konečný
d5f38f16d6
Unit tests for scm_request_processor done
...
Unit tests are now covering 100% of current code.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-21 13:22:10 +01:00
Michal Konečný
03b815c112
Add unit tests to scm_request_processor plugin
...
Add tests for create_new_branch and validate_review_bug.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-18 17:38:22 +01:00
Michal Konečný
cc26011ee2
Add unit tests for smc_request_processsor
...
Finish creating tests for create_new_repo method and continue with
create_new_branch method.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-17 16:44:11 +01:00
Michal Konečný
92497811d2
Add unit tests for scm_request_processor module
...
Add unit tests for verify_slas method and continue adding tests for
create_new_repo method.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-16 16:55:58 +01:00
Michal Konečný
cede6e9ab6
Add first unit tests for scm_request_processor
...
Currently process, process_ticket and accepts_topic are covered.
Signed-off-by: Michal Konečný <mkonecny@redhat.com>
2022-03-15 15:52:27 +01:00