Skip to content

Commit 219d05a

Browse files
committed
stop id from constant generation
1 parent 8435e05 commit 219d05a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

schemas/semantic_router.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test-router-01JSHK4MJ79HH51PS6WEK6M9MF
1+
name: test-router
22
routes:
33
- name: greeting
44
references:

tests/integration/test_semantic_router.py

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ def test_from_dict(semantic_router):
200200

201201
def test_to_yaml(semantic_router):
202202
yaml_file = str(get_base_path().joinpath("../../schemas/semantic_router.yaml"))
203+
semantic_router.name = "test-router"
203204
semantic_router.to_yaml(yaml_file, overwrite=True)
204205
assert pathlib.Path(yaml_file).exists()
205206

0 commit comments

Comments
 (0)