← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/launchpad:update-test-to-reflect-previous-changes-to-fix-craft-uploads into launchpad:master

 

Jürgen Gmach has proposed merging ~jugmac00/launchpad:update-test-to-reflect-previous-changes-to-fix-craft-uploads into launchpad:master.

Commit message:
Update test to reflect recent craft upload fix
    
Collecting the output of craft builds have been fixed, but the
corresponding test had not been updated.

This has been done now.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/474890
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:update-test-to-reflect-previous-changes-to-fix-craft-uploads into launchpad:master.
diff --git a/lib/lp/archiveuploader/tests/test_craftrecipeupload.py b/lib/lp/archiveuploader/tests/test_craftrecipeupload.py
index d07093a..5f7f737 100644
--- a/lib/lp/archiveuploader/tests/test_craftrecipeupload.py
+++ b/lib/lp/archiveuploader/tests/test_craftrecipeupload.py
@@ -45,7 +45,9 @@ class TestCraftRecipeUploads(TestUploadProcessorBase):
         upload_dir = os.path.join(
             self.incoming_folder, "test", str(self.build.id), "ubuntu"
         )
-        write_file(os.path.join(upload_dir, "foo_0_all.craft"), b"craft")
+        write_file(
+            os.path.join(upload_dir, "foo_0_all.craft.tar.xz"), b"craft"
+        )
         write_file(os.path.join(upload_dir, "foo_0_all.manifest"), b"manifest")
         handler = UploadHandler.forProcessor(
             self.uploadprocessor, self.incoming_folder, "test", self.build