# HG changeset patch # User RhodeCode Admin # Date 2024-07-17 09:41:30 # Node ID 912dc7a4b26ff4e3186bd2d0e84c7095d0e0ebb8 # Parent c025bb1a03f9d00360408031f34d32fa5f4885be fix(tests): fixed callback deamon tests diff --git a/rhodecode/tests/lib/test_hooks_daemon.py b/rhodecode/tests/lib/test_hooks_daemon.py --- a/rhodecode/tests/lib/test_hooks_daemon.py +++ b/rhodecode/tests/lib/test_hooks_daemon.py @@ -305,8 +305,11 @@ class TestPrepareHooksDaemon(object): 'hooks_protocol': protocol.lower(), 'task_backend': '', 'task_queue': '', - 'repo_store': '/var/opt/rhodecode_repo_store' + 'repo_store': '/var/opt/rhodecode_repo_store', + 'repository': 'rhodecode', } + from rhodecode import CONFIG + CONFIG['vcs.svn.redis_conn'] = 'redis://redis:6379/0' callback, extras = hook_base.prepare_callback_daemon( expected_extras.copy(), protocol=protocol, host='127.0.0.1', txn_id='txnid2')