Files
core/tests/components/octoprint/__init__.py
2025-11-08 15:15:25 +01:00

31 lines
645 B
Python

"""Tests for the OctoPrint integration."""
from __future__ import annotations
DEFAULT_JOB = {
"job": {
"averagePrintTime": None,
"estimatedPrintTime": None,
"filament": None,
"file": {
"date": None,
"display": None,
"name": None,
"origin": None,
"path": None,
"size": None,
},
"lastPrintTime": None,
"user": None,
},
"progress": {"completion": 50},
}
DEFAULT_PRINTER = {
"state": {
"flags": {"printing": True, "error": False},
"text": "Operational",
},
"temperature": [],
}