mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-08 23:21:58 +02:00
feat(#1239): first cut at Gitea backups silently failing after 1st run feat(#1239): Added Token Scope for Forgejo edge case. Also included: test coverage for fixes
This commit is contained in:
@@ -164,9 +164,7 @@ class TestGitHubBackupConfigAPI:
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.integration
|
||||
async def test_update_config_rejects_disabling_insecure_http_for_stored_http_url(
|
||||
self, async_client: AsyncClient
|
||||
):
|
||||
async def test_update_config_rejects_disabling_insecure_http_for_stored_http_url(self, async_client: AsyncClient):
|
||||
"""Verify PATCH rejects leaving a stored HTTP URL without explicit insecure-HTTP allowance."""
|
||||
create_data = {
|
||||
"repository_url": "http://git.example.com/test/httprepo",
|
||||
|
||||
Reference in New Issue
Block a user