← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~pappacena/launchpad:testfix-oci-branch-format into launchpad:master

 

Thiago F. Pappacena has proposed merging ~pappacena/launchpad:testfix-oci-branch-format into launchpad:master.

Commit message:
Fixing test sample OCI recipe branch

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/400728
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~pappacena/launchpad:testfix-oci-branch-format into launchpad:master.
diff --git a/lib/lp/oci/browser/tests/test_ocirecipe.py b/lib/lp/oci/browser/tests/test_ocirecipe.py
index 7547eaf..5ecc4c8 100644
--- a/lib/lp/oci/browser/tests/test_ocirecipe.py
+++ b/lib/lp/oci/browser/tests/test_ocirecipe.py
@@ -715,7 +715,7 @@ class TestOCIRecipeEditView(OCIConfigHelperMixin, BaseTestOCIRecipeView):
             registrant=self.person, pillar=pillar)
         [git_ref] = self.factory.makeGitRefs(
             owner=self.person,
-            paths=['/refs/heads/v2.0-20.04'])
+            paths=['refs/heads/v2.0-20.04'])
         recipe = self.factory.makeOCIRecipe(
             registrant=self.person, owner=self.person,
             oci_project=oci_project, git_ref=git_ref,

Follow ups