← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~cjwatson/launchpad/testfix-git-hosting-utility into lp:launchpad

 

Colin Watson has proposed merging lp:~cjwatson/launchpad/testfix-git-hosting-utility into lp:launchpad.

Commit message:
Fix TestReclaimGitRepositorySpaceJob.test_run.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/testfix-git-hosting-utility/+merge/261938

Fix TestReclaimGitRepositorySpaceJob.test_run.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~cjwatson/launchpad/testfix-git-hosting-utility into lp:launchpad.
=== modified file 'lib/lp/code/model/tests/test_gitjob.py'
--- lib/lp/code/model/tests/test_gitjob.py	2015-06-15 08:26:20 +0000
+++ lib/lp/code/model/tests/test_gitjob.py	2015-06-15 09:38:09 +0000
@@ -223,7 +223,7 @@
     def test_run(self):
         # Running a job to reclaim space sends a request to the hosting
         # service.
-        hosting_client = FakeGitHostingClient()
+        hosting_client = FakeGitHostingClient({}, [])
         self.useFixture(ZopeUtilityFixture(hosting_client, IGitHostingClient))
         name = "/~owner/+git/gone"
         path = "1"


Follow ups