Repository navigation
test: drop the live tests' xfail marks for fixes now on main - #59
Merged
SteveGilvarry merged 1 commit intoOct 25, 2026
Merged
Conversation
Every fixed_by mark named a pull request that has been merged, or whose fix came in with 1bfb33a, so on main those tests pass and show as XPASS (20 of them). They are plain tests again; fixed_by stays for the next open PR.
11 of 23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TL;DR
fixed_bymark intests/livenames a PR that is merged (fix-high: read API v2 event ends from EndDateTime #2, fix-high: raise ZMApiError, not an auth error, for API v2 permission refusals #6, fix-high: start API v3 live sessions again after zm-api reaps them #8, fix-medium: renew the API v3 token for media, the event stream and WHEP #10, fix-medium: retry once more when zm-api revokes the token renewed in the logout second #12, fix-medium: send is_active when creating an API v3 run state #14, fix-medium: page through API v2 events past the server's 100-event cap #16, fix-medium: raise on API v2 alarm and monitor-edit errors inside 200 replies #18, fix-medium: take API v2 event times from their Unix timestamps #20, fix-medium: include running events in API v3 get_events_between #22, fix-medium: report ZoneMinder's running state as unknown when it can't be read #24, fix-low: list ZoneMinder's KeyFrames+Ondemand decoding value #30, fix-low: keep the token out of API v2 snapshot errors and log in again once #32, fix-low: read API v2 events without their frames #34, fix-low: fit API v3 alarm causes to zm-api's limit and keep its error text #36, fix-low: log API v3 snapshots of monitors that aren't capturing at debug #38) or whose fix came in with1bfb33a(live status, deleted monitors, PTZ route). On main those tests pass and report XPASS: 20 of them in a full run with writes, both APIsfixed_byand its conftest hook stay for the next open PR; 2 files, +1/-3203da34e30 passed, 4 skipped, 20 xpassed; with this change 41 passed, 9 skipped (empty database at the start), and the read tests again with events present 25 passed, 4 skipped; 0 failed, 0 xpassed. The 4 skips are data the lab didn't have (over 100 events on one monitor, a deleted monitor). ruff, ruff format, mypy pass.tests/live/test_write.py; whichever goes second needs a rebase (the resolution: keep the new test, drop the mark).🤖 Generated with Claude Code