Skip to content

Commit 33ed608

Browse files
committed
Add extensive test 2
1 parent 4f3a625 commit 33ed608

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/manual-release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,20 @@ jobs:
7676
run: |
7777
python << 'EOF'
7878
import re
79-
79+
8080
version = "${{ github.event.inputs.version }}"
81-
81+
8282
try:
8383
with open('CHANGELOG.md', 'r') as f:
8484
content = f.read()
85-
85+
8686
pattern = rf'## \[{re.escape(version)}\].*?\n(.*?)(?=\n## \[|\n---|\Z)'
8787
match = re.search(pattern, content, re.DOTALL)
88-
88+
8989
if match:
9090
changelog_content = match.group(1).strip()
9191
changelog_content = re.sub(r'\n---+.*$', '', changelog_content, flags=re.MULTILINE)
92-
92+
9393
with open('release_notes.md', 'w') as f:
9494
f.write(changelog_content)
9595
print(f"Extracted changelog for version {version}")
@@ -122,4 +122,3 @@ jobs:
122122
draft: ${{ github.event.inputs.draft }}
123123
prerelease: ${{ contains(github.event.inputs.version, 'rc') || contains(github.event.inputs.version, 'beta') || contains(github.event.inputs.version, 'alpha') }}
124124
# Publication to PyPI is performed by publish.yml upon release publication to avoid duplication.
125-

cache_config_dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ tables:
1717
ttl: 600
1818
tags: ["user_data"]
1919
enable_fuzzy: true
20-
20+
2121
products:
2222
ttl: 1800
2323
tags: ["product_data"]
24-
24+
2525
sessions:
2626
ttl: 300
2727
tags: ["session_data"]

tests/test_config_comprehensive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def test_load_valid_config_file(self):
413413
- profiles
414414
enable_fuzzy: true
415415
fuzzy_threshold: 90
416-
416+
417417
products:
418418
ttl: 1200
419419
max_entries: 1000

0 commit comments

Comments
 (0)