rename from checkpoint to timeline agent
This commit is contained in:
@@ -213,7 +213,7 @@ def test_stream_block_timeline():
|
||||
frame = WsStreamBlock(
|
||||
request_id="r1",
|
||||
block_type="timeline",
|
||||
data={"checkpoints": [{"id": "c1", "title": "Launch", "date": 1700000000}]},
|
||||
data={"timelines": [{"id": "c1", "title": "Launch", "date": 1700000000}]},
|
||||
)
|
||||
assert frame.block_type == "timeline"
|
||||
|
||||
@@ -270,7 +270,7 @@ def test_floating_domain_tasks():
|
||||
assert frame.domain == "tasks"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("domain", ["tasks", "checkpoints", "notes", "projects"])
|
||||
@pytest.mark.parametrize("domain", ["tasks", "timelines", "notes", "projects"])
|
||||
def test_floating_domain_valid_domains(domain: str):
|
||||
frame = WsFloatingDomain(request_id="r1", domain=domain) # type: ignore[arg-type]
|
||||
assert frame.domain == domain
|
||||
|
||||
Reference in New Issue
Block a user