Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 5, 2024
1 parent 8271bfc commit e6ffbad
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/cmdline/commands/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,17 @@ def test_setup_email_required(run_cli_command, isolated_config, tmp_path, entry_
def test_setup_no_use_rabbitmq(run_cli_command, isolated_config, tmp_path):
"""Test the ``--no-use-rabbitmq`` option."""
profile_name = 'profile-no-broker'
options = ['core.sqlite_dos', '-n', '--email', 'a@a', '--filepath', str(tmp_path), '--profile', profile_name, '--no-use-rabbitmq']
options = [
'core.sqlite_dos',
'-n',
'--email',
'a@a',
'--filepath',
str(tmp_path),
'--profile',
profile_name,
'--no-use-rabbitmq',
]

result = run_cli_command(cmd_profile.profile_setup, options, use_subprocess=False)
assert f'Created new profile `{profile_name}`.' in result.output
Expand Down

0 comments on commit e6ffbad

Please sign in to comment.