~tsimonq2/ubuntu-cdimage/add-git-support-to-germinate

« back to all changes in this revision

Viewing changes to lib/cdimage/tests/test_livefs.py

  • Committer: Steve Langasek
  • Date: 2017-11-16 17:29:08 UTC
  • Revision ID: steve.langasek@canonical.com-20171116172908-nhlinfns94j330m2
Revert special-casing of img.xz, model-assertion file extensions to match current livecd-rootfs implementation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1024
1024
                "amd64", item, "ubuntu-core", "artful")
1025
1025
            self.assertPathsEqual(
1026
1026
                ["http://kishi00.buildd/~buildd/LiveCD/artful/"
1027
 
                 "ubuntu-core-raspi2/current/livecd.ubuntu-core.%s" % item],
 
1027
                 "ubuntu-core-raspi2/current/"
 
1028
                 "livecd.ubuntu-core-raspi2.%s" % item],
1028
1029
                "armhf+raspi2", item, "ubuntu-core", "artful")
1029
1030
 
1030
1031
    def test_kernel_items(self):
1192
1193
        mock_fetch.assert_called_once_with(
1193
1194
            self.config,
1194
1195
            "http://kishi00.buildd/~buildd/LiveCD/xenial/ubuntu-core-raspi3"
1195
 
            "/current/livecd.ubuntu-core.img.xz",
 
1196
            "/current/livecd.ubuntu-core-raspi3.img.xz",
1196
1197
            os.path.join(
1197
1198
                self.temp_dir, "scratch", "ubuntu-core", "xenial",
1198
1199
                "daily-live", "live", "armhf+raspi3.img.xz"))