Fixed imports

This commit is contained in:
Max Berger
2026-03-26 21:35:12 +01:00
parent bde188ff55
commit 99f8780463
10 changed files with 41 additions and 84 deletions

View File

@@ -25,12 +25,10 @@ import subprocess
import sys
import time
from dataclasses import dataclass
from enum import Enum
from typing import Any, Generator, Optional
from playwright.sync_api import BrowserContext, Page
from enum import Enum
from playwright.sync_api import BrowserContext, Page, expect
class AuthType(Enum):
@@ -101,7 +99,7 @@ type = {config.auth_type.value}
f.write("htpasswd_encryption = plain\n")
f.write(
f"""[web]
"""[web]
type = internal
[headers]
Content-Security-Policy = default-src 'self'; object-src 'none'
@@ -172,9 +170,6 @@ max:maxpassword
process.wait()
from playwright.sync_api import BrowserContext, Page, expect
def login(
page: Page,
radicale_server: str,