cmd_merge is too long, and needs tests
Bug #633932 reported by
Gavin Panella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tarmac |
Fix Released
|
High
|
dobey |
Bug Description
There's a lot of critically import logic in _do_merges. I think it ought to be factored out into testable units. And tested :)
Related branches
lp:~dobey/tarmac/merge-tests
- Paul Hummer: Approve
-
Diff: 466 lines (+186/-97)9 files modifiedtarmac/bin/commands.py (+1/-1)
tarmac/log.py (+8/-2)
tarmac/plugins/bugresolver.py (+5/-1)
tarmac/tests/__init__.py (+78/-2)
tarmac/tests/mock.py (+1/-1)
tarmac/tests/test_branch.py (+2/-44)
tarmac/tests/test_commands.py (+80/-35)
tarmac/tests/test_config.py (+2/-1)
tarmac/tests/test_registry.py (+9/-10)
Changed in tarmac: | |
assignee: | nobody → Rodney Dawes (dobey) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in tarmac: | |
status: | In Progress → Fix Committed |
Changed in tarmac: | |
milestone: | none → tarmac-0.5 |
Changed in tarmac: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hrmm. I just poked through these two branches that are linked, and the amount of invasive change is a bit offputting. The changes are very large, and i think it's slightly the wrong way to go about testing the merging code that pokes launchpad.