Skip to content

Commit

Permalink
Update tests for removal of config_type
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Feb 2, 2024
1 parent 9f3e11d commit d00ca9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/test_config_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def test_load_defaults(galaxy_yml, galaxy_root_dir, state_dir, default_config_ma
default_config_manager.load_config_file(str(galaxy_yml))
config = default_config_manager.get_config()
default_settings = Settings()
assert config.config_type == 'galaxy'
assert config.process_manager == 'supervisor'
assert config.instance_name == default_settings.instance_name
assert config.services != []
Expand Down
3 changes: 2 additions & 1 deletion tests/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def test_cmd_show(state_dir, galaxy_yml):
result = runner.invoke(galaxyctl, ['--config-file', str(galaxy_yml), 'show'])
assert result.exit_code == 0, result.output
details = safe_load(result.output)
assert details['config_type'] == 'galaxy'
assert details['galaxy_config_file'] == str(galaxy_yml)
assert details['instance_name'] == '_default_'


def test_cmd_list(state_dir, galaxy_yml):
Expand Down

0 comments on commit d00ca9d

Please sign in to comment.