From 6d068ca5f92f5126a034ad5efe7ece3a28fc7ce0 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 30 May 2024 15:16:34 +0100 Subject: [PATCH] Add ``hgweb_repo_prefix`` attribute to ``TestToolShedConfig`` Fix the following error in unit tests: ``` AttributeError: 'TestToolShedConfig' object has no attribute 'hgweb_repo_prefix' ``` caused by merging commit b00beec3d26b7dff76b32d56078bf7c90eff915b forward. --- test/unit/tool_shed/_util.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/tool_shed/_util.py b/test/unit/tool_shed/_util.py index d59991bca0f1..cf4f82255d0c 100644 --- a/test/unit/tool_shed/_util.py +++ b/test/unit/tool_shed/_util.py @@ -46,6 +46,7 @@ class TestToolShedConfig: file_path: str id_secret: str = "thisistheshedunittestsecret" smtp_server: Optional[str] = None + hgweb_repo_prefix = "repos/" config_hg_for_dev = False def __init__(self, temp_directory):