test: cover detail watch in packaged mobile CI
This commit is contained in:
1 parent
35a88bb398
commit
eea9097740
4 files changed
+7
-2
No files matched your search
@@ -125,6 +125,8 @@ class FakeGiteaHandler(BaseHTTPRequestHandler):
|
||||
number = 0
|
||||
comments = self.server.activity_comments.get(number, [])
|
||||
self._json(200, comments, **{"X-Total-Count": str(len(comments))})
|
||||
elif path.startswith("/api/v1/repos/acme/mobile/issues/") and path.endswith("/subscriptions/check"):
|
||||
self._json(200, {"subscribed": False, "ignored": False})
|
||||
elif path.startswith("/api/v1/repos/acme/mobile/issues/") and path.endswith("/dependencies"):
|
||||
self._json(200, [])
|
||||
elif path.startswith("/api/v1/repos/acme/mobile/issues/"):
|
||||
|
||||
Reference in new issue
Block a user