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

Proposed by Thiago F. Pappacena
Status: Merged
Approved by: Thiago F. Pappacena
Approved revision: 3bcdb4d7c791a94426b9bebe504000efca69dc36
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~pappacena/launchpad:testfix-oci-branch-format
Merge into: launchpad:master
Diff against target: 13 lines (+1/-1)
1 file modified
lib/lp/oci/browser/tests/test_ocirecipe.py (+1/-1)
Reviewer Review Type Date Requested Status
Thiago F. Pappacena (community) Approve
Review via email: mp+400728@code.launchpad.net

Commit message

Fixing test sample OCI recipe branch

To post a comment you must log in.
Revision history for this message
Thiago F. Pappacena (pappacena) wrote :

Self-approving trivial test fix

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/lib/lp/oci/browser/tests/test_ocirecipe.py b/lib/lp/oci/browser/tests/test_ocirecipe.py
2index 7547eaf..5ecc4c8 100644
3--- a/lib/lp/oci/browser/tests/test_ocirecipe.py
4+++ b/lib/lp/oci/browser/tests/test_ocirecipe.py
5@@ -715,7 +715,7 @@ class TestOCIRecipeEditView(OCIConfigHelperMixin, BaseTestOCIRecipeView):
6 registrant=self.person, pillar=pillar)
7 [git_ref] = self.factory.makeGitRefs(
8 owner=self.person,
9- paths=['/refs/heads/v2.0-20.04'])
10+ paths=['refs/heads/v2.0-20.04'])
11 recipe = self.factory.makeOCIRecipe(
12 registrant=self.person, owner=self.person,
13 oci_project=oci_project, git_ref=git_ref,