File: __init__.py

package info (click to toggle)
python-homeassistant-analytics 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,288 kB
  • sloc: python: 462; sh: 10; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
"""Asynchronous Python client for Homeassistant Analytics."""

from pathlib import Path


def load_fixture(filename: str) -> str:
    """Load a fixture."""
    path = Path(__package__) / "fixtures" / filename
    return path.read_text(encoding="utf-8")