test(7836): the client's link states are pinned to what a read returns
CI & Build / TypeScript typecheck (push) Canceled after 0s
CI & Build / Plugin hooks (push) Canceled after 0s
CI & Build / Python lint (push) Canceled after 0s
CI & Build / Python tests (push) Canceled after 0s
CI & Build / integration (push) Canceled after 0s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / TypeScript typecheck (push) Canceled after 0s
CI & Build / Plugin hooks (push) Canceled after 0s
CI & Build / Python lint (push) Canceled after 0s
CI & Build / Python tests (push) Canceled after 0s
CI & Build / integration (push) Canceled after 0s
CI & Build / Build & push image (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,6 @@ import inspect
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
from grimoire.models.lesson_rule_link import LINK_STATES
|
||||
from grimoire.services import lesson_rules as links_svc
|
||||
from grimoire.services.access import PERMISSION_RANK
|
||||
|
||||
@@ -48,8 +47,8 @@ def test_the_client_judgment_union_is_the_services_three_answers():
|
||||
}
|
||||
|
||||
|
||||
def test_the_client_link_states_are_the_models():
|
||||
assert _union(_read("api/lessons.ts"), "LinkState") == set(LINK_STATES)
|
||||
def test_the_client_link_states_are_the_ones_a_read_returns():
|
||||
assert _union(_read("api/lessons.ts"), "LinkState") == set(links_svc.READ_STATES)
|
||||
|
||||
|
||||
def test_the_lesson_page_answers_all_three_judgments():
|
||||
|
||||
Reference in New Issue
Block a user