[Patchew-devel] [PATCH 08/11] testing: remove the untest command

Paolo Bonzini pbonzini at redhat.com
Wed May 15 12:58:05 UTC 2019


Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
---
 mods/testing.py | 10 ----------
 patchew-cli     | 10 ----------
 2 files changed, 20 deletions(-)

diff --git a/mods/testing.py b/mods/testing.py
index 90bb2be..1b914ce 100644
--- a/mods/testing.py
+++ b/mods/testing.py
@@ -571,13 +571,3 @@ class TestingCapabilitiesView(APILoginRequiredView):
             raise Http404("Project '%s' not found" % project)
         probes = _instance.get_capability_probes(po)
         return probes
-
-class UntestView(APILoginRequiredView):
-    name = "untest"
-    allowed_groups = ["testers"]
-
-    def handle(self, request, terms):
-        se = SearchEngine()
-        q = se.search_series(user=request.user, *terms)
-        for s in q:
-            _instance.clear_and_start_testing(s)
diff --git a/patchew-cli b/patchew-cli
index bfff69c..9ea7834 100755
--- a/patchew-cli
+++ b/patchew-cli
@@ -378,16 +378,6 @@ class SearchCommand(SubCommand):
                     print(x[a])
         return 0
 
-class UntestCommand(SubCommand):
-    name = "untest"
-
-    def arguments(self, parser):
-        parser.add_argument("term", nargs="*", type=str)
-
-    def do(self, args, argv):
-        self.api_do("untest", terms=args.term)
-        return 0
-
 class TesterCommand(SubCommand):
     name = "tester"
     want_argv = True
-- 
2.21.0





More information about the Patchew-devel mailing list