소스 검색

test_missing_obj_finder: correct bogus wants test

This test hasn't been doing what it says on the tin for a while, because
find_missing_objects doesn't take a store argument.
Augie Fackler 10 년 전
부모
커밋
913d331c1c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      dulwich/tests/test_missing_obj_finder.py

+ 1 - 1
dulwich/tests/test_missing_obj_finder.py

@@ -104,7 +104,7 @@ class MOFLinearRepoTest(MissingObjectFinderTest):
         haves = [self.cmt(1).id]
         wants = [self.cmt(3).id, bogus_sha]
         self.assertRaises(KeyError, self.store.find_missing_objects,
-            self.store, haves, wants)
+            haves, wants)
 
     def test_no_changes(self):
         self.assertMissingMatch([self.cmt(3).id], [self.cmt(3).id], [])