Skip to content

Commit

Permalink
Add hgweb_repo_prefix attribute to TestToolShedConfig
Browse files Browse the repository at this point in the history
Fix the following error in unit tests:

```
AttributeError: 'TestToolShedConfig' object has no attribute 'hgweb_repo_prefix'
```

caused by merging commit b00beec
forward.
  • Loading branch information
nsoranzo committed May 30, 2024
1 parent bd9a169 commit 6d068ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/tool_shed/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 6d068ca

Please sign in to comment.