~jibel/ubuntu-release-upgrader:testsuite_fixes

Last commit made on 2019-12-20
Get this branch:
git clone -b testsuite_fixes https://git.launchpad.net/~jibel/ubuntu-release-upgrader
Only Jean-Baptiste Lallement can upload to this branch. If you are Jean-Baptiste Lallement please log in for upload directions.

Branch merges

Branch information

Name:
testsuite_fixes
Repository:
lp:~jibel/ubuntu-release-upgrader

Recent commits

f5c64a4... by Jean-Baptiste Lallement

Fixed test_prepare_snap_replacement_data and increase coverage

Populate the cache with records for snap packages so
DistUpgradeQuirks._prepare_snap_replacement_data doesn't crash when it
checks the "installed" state of the package.
Added 2 cases to fully cover _prepare_snap_replacement_data:
1. A package installed but not tracking the release channel
2. A package with a missing snap id.

717b732... by Jean-Baptiste Lallement

Make candidate optional in make_mock_pkg

snap packages don't have a candidate record so make it optional.

310fc2e... by Brian Murray

Fix pyflakes error.

6283cb6... by Jean-Baptiste Lallement

Update changelog

8a2b54f... by Jean-Baptiste Lallement

Do not unconditionally install snap packages

On install a snap package if its debian package counterpart is
installed. If the snap package is already installed the behaviour is
unchanged and the snap is refreshed.

7ce475c... by Jean-Baptiste Lallement

Fix crash when checking section

Snap packages don't have an "installed" property. Check if the property
exists before checking the section to fix a crash.

1293ae1... by Jean-Baptiste Lallement

Updated release to 20.04 in UI

c8215d3... by Balint Reczey

Update changelog

d45ea6b... by Balint Reczey

debian/gbp.conf: Really run ./pre-build.sh before build

4f1ec13... by Balint Reczey

debian/release-upgrade-motd: Fix typo preventing the update of the cached info

This fixes the regression introduced when fixing LP: #1855271.