~laney/ubuntu-cdimage/stop-sync-mirrors

« back to all changes in this revision

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

  • Committer: Łukasz 'sil2100' Zemczak
  • Date: 2021-01-11 16:26:57 UTC
  • mfrom: (1919.1.2 qcow2-appliance)
  • Revision ID: lukasz.zemczak@canonical.com-20210111162657-j2707yfn1e84aig6
Enable qcow2 amd64 ubuntu-appliance images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
925
925
        touch(os.path.join(
926
926
            source_dir,
927
927
            "%s-live-core-amd64.model-assertion" % self.config.series))
 
928
        touch(os.path.join(
 
929
            source_dir, "%s-live-core-amd64.qcow2" % self.config.series))
928
930
        self.capture_logging()
929
931
        list(publisher.publish_binary("live-core", "amd64", "20170429"))
930
932
        self.assertLogEqual([
931
933
            "Publishing amd64 ...",
932
934
            "Publishing amd64 model assertion ...",
 
935
            "Publishing amd64 qcow2 image ...",
933
936
            "Making amd64 zsync metafile ...",
934
937
        ])
935
938
        target_dir = os.path.join(publisher.publish_base, "20170429")
937
940
        self.assertCountEqual([
938
941
            "ubuntu-core-18-amd64.img.xz",
939
942
            "ubuntu-core-18-amd64.model-assertion",
 
943
            "ubuntu-core-18-amd64.qcow2",
940
944
        ], os.listdir(target_dir))
941
945
 
942
946
    def test_publish_livecd_base(self):