renaming cleanup

This commit is contained in:
cra88y/pc
2026-01-14 11:12:51 -06:00
parent 0836dfe159
commit f47483714d
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ class PluginTestCase(unittest.TestCase):
response = self.app.get('/')
content = response.data.decode('utf-8')
self.assertIn('<article id="sxng-stream-box"', content)
self.assertIn('/gemini-stream', content)
self.assertIn('/ai-stream', content)
def test_stream_endpoint(self):
# Trigger index to generate a response containing the token
@@ -136,7 +136,7 @@ class PluginTestCase(unittest.TestCase):
"tk": token
}
response = self.app.post('/gemini-stream', json=payload)
response = self.app.post('/ai-stream', json=payload)
self.assertEqual(response.status_code, 200)
# Note: If the API returns a 404/429, data will be empty due to silent error handling.