Add user test
Some checks failed
Gitea/photolib/pipeline/head There was a failure building this commit
Some checks failed
Gitea/photolib/pipeline/head There was a failure building this commit
This commit is contained in:
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…
x
Reference in New Issue
Block a user