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

This commit is contained in:
dave 2023-01-17 22:06:26 -08:00
parent a180874e79
commit 1fdf89cb2a
1 changed files with 4 additions and 0 deletions

View File

@ -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",