File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
pydough/metadata/collections Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def __init__(
48
48
PropertyMetadata ,
49
49
)
50
50
51
- is_valid_name .verify (name , f"name { name !r} " )
51
+ is_valid_name .verify (name , f"collection name { name !r} " )
52
52
HasType (GraphMetadata ).verify (graph , f"graph { name !r} " )
53
53
54
54
self ._graph : GraphMetadata = graph
Original file line number Diff line number Diff line change @@ -85,12 +85,12 @@ def test_missing_property(get_sample_graph: graph_fetcher) -> None:
85
85
),
86
86
pytest .param (
87
87
"BAD_COLLECTION_NAME_1" ,
88
- "name '0' must be a string that is a valid Python identifier" ,
88
+ "collection name '0' must be a string that is a valid Python identifier" ,
89
89
id = "BAD_COLLECTION_NAME_1" ,
90
90
),
91
91
pytest .param (
92
92
"BAD_COLLECTION_NAME_2" ,
93
- "name 'Invalid name' must be a string that is a valid Python identifier" ,
93
+ "collection name 'Invalid name' must be a string that is a valid Python identifier" ,
94
94
id = "BAD_COLLECTION_NAME_2" ,
95
95
),
96
96
pytest .param (
@@ -100,12 +100,12 @@ def test_missing_property(get_sample_graph: graph_fetcher) -> None:
100
100
),
101
101
pytest .param (
102
102
"BAD_PROPERTY_NAME_2" ,
103
- "name '0' must be a string that is a valid Python identifier" ,
103
+ "collection name '0' must be a string that is a valid Python identifier" ,
104
104
id = "BAD_PROPERTY_NAME_2" ,
105
105
),
106
106
pytest .param (
107
107
"BAD_TABLE_NAME" ,
108
- "name 'invalid table_name' must be a string that is a valid Python identifier" ,
108
+ "collection name 'invalid table_name' must be a string that is a valid Python identifier" ,
109
109
id = "BAD_TABLE_NAME" ,
110
110
),
111
111
pytest .param (
You can’t perform that action at this time.
0 commit comments