Skip to content

Add unit tests for osism/utils/inventory#2200

Merged
ideaship merged 1 commit intomainfrom
gh2194
Apr 25, 2026
Merged

Add unit tests for osism/utils/inventory#2200
ideaship merged 1 commit intomainfrom
gh2194

Conversation

@berendt
Copy link
Copy Markdown
Member

@berendt berendt commented Apr 24, 2026

Covers both functions in osism/utils/inventory.py with 100% branch coverage: get_inventory_path resolution order (minified/fast/base with prefer_minified toggle) and get_hosts_from_inventory extraction from _meta.hostvars and group listings.

Closes #2194

AI-assisted: Claude Code

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Covers both functions in osism/utils/inventory.py with 100% branch
coverage: get_inventory_path resolution order (minified/fast/base with
prefer_minified toggle) and get_hosts_from_inventory extraction from
_meta.hostvars and group listings.

Closes #2194

AI-assisted: Claude Code

Signed-off-by: Christian Berendt <berendt@osism.tech>
@ideaship ideaship merged commit da9a19e into main Apr 25, 2026
3 checks passed
@ideaship ideaship deleted the gh2194 branch April 25, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unit tests for osism/utils/inventory.py

2 participants