mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-19 15:47:04 +02:00
Fix backend code formatting for CI
- Update ruff pre-commit hook to v0.14.11 - Apply ruff format to pass CI checks Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
169f2aaf08
commit
d1d4152551
@@ -259,9 +259,9 @@ class TestRealisticMessageFlow:
|
||||
# Verify timelapse was detected even though xcam is parsed before state
|
||||
assert mqtt_client._was_running is True, "_was_running should be True after RUNNING state"
|
||||
assert mqtt_client.state.timelapse is True, "state.timelapse should be True"
|
||||
assert (
|
||||
mqtt_client._timelapse_during_print is True
|
||||
), "timelapse_during_print should be True when timelapse is in the same message as RUNNING state"
|
||||
assert mqtt_client._timelapse_during_print is True, (
|
||||
"timelapse_during_print should be True when timelapse is in the same message as RUNNING state"
|
||||
)
|
||||
|
||||
def test_timelapse_not_detected_when_disabled(self, mqtt_client):
|
||||
"""Test that timelapse is NOT detected when disabled in xcam data."""
|
||||
|
||||
Reference in New Issue
Block a user