Factor out test helpers for modifying Packages files
Bug #887947 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Medium
|
Björn Tillenius |
Bug Description
For tests using AptFacade, we usually need to modify Packages files. Currently we have similar methods in multiple test cases, and we'll need the same methods in other test cases as well. We should factor out those methods, to avoid code duplication.
Related branches
lp:~bjornt/landscape-client/apt-facade-test-helpers
- Thomas Herve (community): Approve
- Alberto Donato (community): Approve
-
Diff: 262 lines (+81/-110)3 files modifiedlandscape/package/tests/helpers.py (+79/-2)
landscape/package/tests/test_facade.py (+1/-70)
landscape/package/tests/test_reporter.py (+1/-38)
tags: | added: points-1 squad-gamma theme-apt |
Changed in landscape-client: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Björn Tillenius (bjornt) |
milestone: | none → 11.11.1 |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.