Commit 34ad32e
test: add ModuleBase mocking for appstreams unit tests
Mock dnf.module.module_base to support testing the ModuleBase API
refactoring. Without this mock, the import sets dnf.module=None and
tests fail when trying to access module_base.ModuleBase().
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent a5fbcab commit 34ad32e
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
0 commit comments