← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~pappacena/launchpad:testfix-git-xmlrpc-confirm-repo into launchpad:master

 

Thiago F. Pappacena has proposed merging ~pappacena/launchpad:testfix-git-xmlrpc-confirm-repo into launchpad:master.

Commit message:
[testfix] Fixing test for repo confirmation XML-RPC

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~pappacena/launchpad/+git/launchpad/+merge/392304
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~pappacena/launchpad:testfix-git-xmlrpc-confirm-repo into launchpad:master.
diff --git a/lib/lp/code/xmlrpc/tests/test_git.py b/lib/lp/code/xmlrpc/tests/test_git.py
index 41760bf..dcbcee6 100644
--- a/lib/lp/code/xmlrpc/tests/test_git.py
+++ b/lib/lp/code/xmlrpc/tests/test_git.py
@@ -328,7 +328,7 @@ class TestGitAPIMixin:
         # Should have checked the refs at some point.
         excluded_prefixes = config.codehosting.git_exclude_ref_prefixes
         self.assertEqual(
-            [(tuple(git_repository.getInternalPath(), ),
+            [((git_repository.getInternalPath(), ),
               dict(exclude_prefixes=excluded_prefixes.split(",")))],
             self.hosting_fixture.getRefs.calls)
         self.assertEqual(2, git_repository.refs.count())