Skip to content

Commit

Permalink
More test fixes for dropping config_type
Browse files Browse the repository at this point in the history
  • Loading branch information
natefoo committed Feb 2, 2024
1 parent f18137b commit 493f652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,5 @@ def test_cmd_list(state_dir, galaxy_yml):
runner = CliRunner()
result = runner.invoke(galaxyctl, ['--config-file', str(galaxy_yml), 'list'])
assert result.exit_code == 0, result.output
assert result.output.startswith("TYPE")
assert result.output.startswith("INSTANCE NAME")
assert str(galaxy_yml) in result.output
2 changes: 1 addition & 1 deletion tests/test_process_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def service_conf_dir(state_dir, process_manager_name):
def service_conf_file(instance_name, process_manager_name, service_name, service_type=None):
service_type = service_type or service_name
if process_manager_name == 'supervisor':
return f'galaxy_{service_type}_{service_name}.conf'
return f'{service_type}_{service_name}.conf'
elif process_manager_name == 'systemd':
return f'galaxy-{instance_name}-{service_name}.service'
raise Exception(f"Invalid process manager name: {process_manager_name}")
Expand Down

0 comments on commit 493f652

Please sign in to comment.