fediverse-devnet / fediverse-devnet/feditest

Better reporting for Mastodon API methods not implemented by a Node

Open
#398 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
37
Forks
6
PR merge metrics
No merged PRs in 30d

Description

E.g WordPress Enable Mastodon Apps plugin does not implement:

* `self.http_get(f'/api/v1/statuses/{ obj_id }/favourited_by')`
* `self.http_get(f'/api/v1/accounts/{ this_account_id }/following')`

In this case, we currently raise in the

```
requests.exceptions.HTTPError: HTTP status 404: {"error":"rest_no_route","error_description":"No route was found matching the URL and request method."}
```

This should be intercepted and reported as `NotImplementedByNodeException`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.