test: convert tests to pytest assertions; add server-availability skips; clean up warnings and minor syntax/indent issues

This commit is contained in:
matt 2025-09-12 10:50:57 -07:00
parent f07daaeb4a
commit 947adacfe2
21 changed files with 374 additions and 311 deletions

View file

@ -1,11 +1,14 @@
# MTG Python Deckbuilder ${VERSION}
### Added
- CI improvements to increase stability and reproducibility of builds/tests.
- Expanded test coverage for validation and web flows.
### Changed
- Web UI: Test Hand uses a default fanned layout on desktop with tightened arc and 40% overlap; outer cards sit lower for a full-arc look
- Desktop Test Hand card size set to 280×392; responsive sizes refined at common breakpoints
- Theme controls moved from the top banner to the bottom of the left sidebar; sidebar made a flex column with the theme block anchored at the bottom
- Mobile banner simplified to show only Menu, title; spacing and gaps tuned to prevent overflow and wrapping
- Tests refactored to use pytest assertions and streamlined fixtures/utilities to reduce noise and deprecations.
- HTTP-dependent tests skip gracefully when the local web server is unavailable.
### Fixed
- Prevented mobile banner overflow by hiding non-essential items and relocating theme controls
- Ensured desktop sizing wins over previous inline styles by using global CSS overrides; cards no longer shrink due to flexbox constraints
- Reduced deprecation warnings and incidental test failures; improved consistency across runs.
---