Add user test
Gitea/photolib/pipeline/head There was a failure building this commit Details

api-refactor
dave 5 months ago
parent a180874e79
commit 1fdf89cb2a

@ -22,6 +22,10 @@ class PhotolibTestApi(PhotolibTest):
self.getPage("/api/v1/byhash?sha=lol")
self.assertStatus('404 Not Found')
def test_user(self):
self.getPage("/api/v1/user")
self.assertStatus('200 OK')
# self.assertBody('Hello world')
# self.assertHeader('Content-Type', 'text/html;charset=utf-8')
# self.getPage("/echo?message=A+bient%F4t",

Loading…
Cancel
Save