@@ -244,25 +244,6 @@ def test_schema_add_ids_parameters(self):
244244 self .assertEqual (cli_opts ["positional" ][1 ], "schema_name" , "Second positional should be schema_name" )
245245 self .assertEqual (cli_opts ["positional" ][2 ], "schema_version" , "Third positional should be schema_version" )
246246
247- def test_schema_create_ontology_parameters (self ):
248- """Test schema create-ontology uses positional arguments."""
249- schema_group = cli .commands .get ("schema" )
250- ontology_command = schema_group .commands .get ("create-ontology" )
251- self .assertIsNotNone (ontology_command , "create-ontology command not found" )
252-
253- cli_opts = self ._get_click_options (ontology_command )
254-
255- # Should have 3 positional arguments
256- self .assertEqual (
257- len (cli_opts ["positional" ]), 3 , f"Should have 3 positional arguments, got { len (cli_opts ['positional' ])} "
258- )
259- self .assertEqual (cli_opts ["positional" ][0 ], "repo_path" , "First positional should be repo_path" )
260- self .assertEqual (cli_opts ["positional" ][1 ], "schema_name" , "Second positional should be schema_name" )
261- self .assertEqual (cli_opts ["positional" ][2 ], "schema_version" , "Third positional should be schema_version" )
262-
263- # Check --dest option exists
264- self .assertIn ("dest" , cli_opts ["optional" ], "--dest option not found" )
265-
266247 def test_all_legacy_commands_have_cli_equivalents (self ):
267248 """Test that all legacy script entry points have CLI equivalents."""
268249 # Legacy commands from pyproject.toml
@@ -272,7 +253,6 @@ def test_all_legacy_commands_have_cli_equivalents(self):
272253 "hed_validate_schemas" : "schema validate" ,
273254 "hed_update_schemas" : "schema convert" ,
274255 "hed_add_ids" : "schema add-ids" ,
275- "hed_create_ontology" : "schema create-ontology" ,
276256 }
277257
278258 for legacy , cli_path in legacy_to_cli .items ():
0 commit comments