Schliesse das Notebook-Source-Mapping, damit Wizard und Taxonomie ohne leere Kategorie starten.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b276758ee1
commit
d784248e28
13 files changed
+1505
-9
No files matched your search
@@ -1,6 +1,7 @@
|
||||
from uuid import uuid4
|
||||
|
||||
from app.discovery.criteria import parse_project_criteria
|
||||
from app.discovery.enums import TaxonomyStatus
|
||||
from app.settings import Settings
|
||||
|
||||
|
||||
@@ -22,6 +23,11 @@ def test_parse_accepts_definition_id_and_enabled_flag():
|
||||
assert parsed["items"][0]["enabled_for_discovery"] is True
|
||||
|
||||
|
||||
def test_source_category_readiness_values():
|
||||
assert TaxonomyStatus.NOT_LEARNED.value == "NOT_LEARNED"
|
||||
assert TaxonomyStatus.READY.value == "READY"
|
||||
|
||||
|
||||
def test_cors_origins_are_split_from_environment():
|
||||
settings = Settings(cors_allowed_origins="http://localhost:4173, http://127.0.0.1:4173")
|
||||
assert settings.cors_origins == ["http://localhost:4173", "http://127.0.0.1:4173"]
|
||||
Reference in new issue
Block a user