Skip to content

Commit

Permalink
Remove checks for obsolete methods
Browse files Browse the repository at this point in the history
This is not how you define your callbacks, so this test isn't testing
for anything useful.
  • Loading branch information
carlosmn committed Apr 29, 2016
1 parent 50c0569 commit df30f92
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions test/test_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,21 +188,6 @@ def test_remote_refcount(self):
end = sys.getrefcount(self.repo)
self.assertEqual(start, end)

def test_remote_callback_typecheck(self):
remote = self.repo.remotes[0]
remote.progress = 5
self.assertRaises(TypeError, remote, 'fetch')

remote = self.repo.remotes[0]
remote.transfer_progress = 5
self.assertRaises(TypeError, remote, 'fetch')

remote = self.repo.remotes[0]
remote.update_tips = 5
self.assertRaises(TypeError, remote, 'fetch')



class EmptyRepositoryTest(utils.EmptyRepoTestCase):
def test_fetch(self):
remote = self.repo.remotes[0]
Expand Down

0 comments on commit df30f92

Please sign in to comment.