-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): add thumbnail endpoint and ACAO/M (#3)
* feat(api): add thumbnail endpoint and ACAO/M * test(thumbnail): add test code for thumbnail * test: not found thumbnail * test: not status Co-authored-by: Ryu juheon <[email protected]>
- Loading branch information
1 parent
4f84a27
commit 11714e4
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from requests.sessions import Session | ||
|
||
|
||
def test_thumbnail(client: Session): | ||
r = client.get("http://localhost:6009/thumbnail") | ||
assert r.json() == {"error": "not_found"} | ||
assert r.status_code == 404 |