uopdate doc
This commit is contained in:
@@ -2,7 +2,7 @@ import json
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
from fgai.dashboard import _ollama_models
|
||||
from fgai.dashboard import HTML, _ollama_models
|
||||
|
||||
|
||||
class DashboardTests(unittest.TestCase):
|
||||
@@ -23,6 +23,11 @@ class DashboardTests(unittest.TestCase):
|
||||
self.assertEqual(result["status"], "ok")
|
||||
self.assertEqual([item["name"] for item in result["models"]], ["llama3.1", "qwen3:8b"])
|
||||
|
||||
def test_dashboard_includes_how_to_view(self):
|
||||
self.assertIn('data-tab="howto"', HTML)
|
||||
self.assertIn('data-view="howto"', HTML)
|
||||
self.assertIn("How To Use SignalScope", HTML)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
Reference in New Issue
Block a user