Update.
This commit is contained in:
+2
-4
@@ -190,10 +190,8 @@ async def test_file_browser_get_authorized(client):
|
||||
resp = await client.get("/files")
|
||||
assert resp.status == 200
|
||||
text = await resp.text()
|
||||
assert "File Browser" in text
|
||||
# Check for some expected files from the project directory
|
||||
assert "example.jpg" in text
|
||||
assert "rexample7.jpg" in text
|
||||
assert "My Files" in text
|
||||
assert "No files found in this directory." in text
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user